Sponsored Content
Full Discussion: How to BOUNCE??
Top Forums UNIX for Dummies Questions & Answers How to BOUNCE?? Post 302251806 by redoubtable on Tuesday 28th of October 2008 06:06:46 AM
Old 10-28-2008
If depends on the operating system/distro you're using. What is the criteria of "automatically" ? It should stop the service automatically when...?

gentoo: /etc/init.d/service_you_want stop
fedora/redhat/centos: service service_you_want stop
slackware: /etc/rc.d/service_you_want stop
(etc)

Just go ahead and search directories in /etc like init or rc and you will easily find the init scripts.
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help me with bounce back mails.

I have the following doubt : I login on my Unix machine as 'myid' I send out mails from this id setting the Header Properties in sendmail command. (From : g-eacctst01). I try sending mail to a wrong id. Where will the bounce back mail be stored ? How can we link the bounce back messages to... (4 Replies)
Discussion started by: Amruta Pitkar
4 Replies

2. Solaris

Had to bounce interface to add network route

Hi All, yesterday I was trying to add a network route to my solaris 8 host using 'route add'. Everytime I tried, I kept getting the response 'network is unreachable'. I was trying all kinds of different methods, however I eventually got it to work after bouncing the interface that I was... (2 Replies)
Discussion started by: badoshi
2 Replies

3. UNIX for Dummies Questions & Answers

qmail bounce

Hello, i seem to be facing a strange problem. I send my emails via qmail (on linux) and all the emails gets delivered to the recipient's inbox and bounces back to the sender's address and well. This happens irrespective of the recipient's email domain (gmail, yahoo, hotmail...). We recently... (0 Replies)
Discussion started by: pradeeptg
0 Replies

4. Linux

Sendmail bounce to postmaster

Hello, I am using sendmail for my mail server. Undelivered message bounce back to the postmaster with the body of the message. However, I dont want this to happen; senders should get the undelivered notification. I am not sure about the changes I have to make to the sendmail configuration for... (1 Reply)
Discussion started by: antonis3
1 Replies
SERVICE(8)						      System Manager's Manual							SERVICE(8)

NAME
service - run a System V init script SYNOPSIS
service SCRIPT COMMAND [OPTIONS] service --status-all service --help | -h | --version DESCRIPTION
service runs a System V init script or systemd unit in as predictable an environment as possible, removing most environment variables and with the current working directory set to /. The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT, or the name of a systemd unit. The existence of a systemd unit of the same name as a script in /etc/init.d will cause the unit to take precedence over the init.d script. The supported val- ues of COMMAND depend on the invoked script. service passes COMMAND and OPTIONS to the init script unmodified. For systemd units, start, stop, status, and reload are passed through to their systemctl/initctl equivalents. All scripts should support at least the start and stop commands. As a special case, if COMMAND is --full-restart, the script is run twice, first with the stop command, then with the start command. service --status-all runs all init scripts, in alphabetical order, with the status command. The status is [ + ] for running services, [ - ] for stopped services and [ ? ] for services without a status command. This option only calls status for sysvinit jobs. EXIT CODES
service calls the init script and returns the status returned by it. FILES
/etc/init.d The directory containing System V init scripts. /{lib,run,etc}/systemd/system The directories containing systemd units. ENVIRONMENT
LANG, LANGUAGE, LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES, LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEA- SUREMENT, LC_IDENTIFICATION, LC_ALL, TERM, PATH The only environment variables passed to the init scripts. SEE ALSO
/etc/init.d/skeleton update-rc.d(8) init(8) invoke-rc.d(8) systemctl(1) AUTHOR
Miloslav Trmac <mitr@redhat.com>, Petter Reinholdtsen <pere@hungry.com> Licence: GNU Public Licence v2 (GPLv2) COPYRIGHT
2006 Red Hat, Inc., Petter Reinholdtsen <pere@hungry.com> Jan 206 SERVICE(8)
All times are GMT -4. The time now is 06:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy