Sponsored Content
Full Discussion: How to BOUNCE??
Top Forums UNIX for Dummies Questions & Answers How to BOUNCE?? Post 302251605 by khestoi on Monday 27th of October 2008 01:42:30 PM
Old 10-27-2008
How to start and stop services automatically??

I am asked to bounce this particular service "Service1"
I was told that this is about starting and stopping a service
I should do this automatically
automatic start then auto stop
any ideas?

Last edited by khestoi; 10-27-2008 at 03:49 PM..
 

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
stopping(7)						 Miscellaneous Information Manual					       stopping(7)

NAME
       stopping - event signalling that a job is stopping

SYNOPSIS
       stopping JOB=JOB INSTANCE=INSTANCE RESULT=RESULT [PROCESS=PROCESS] [EXIT_STATUS=STATUS] [EXIT_SIGNAL=SIGNAL] [ENV]...

DESCRIPTION
       The stopping event is generated by the Upstart init(8) daemon when an instance of a job begins stopping.  The JOB environment variable con-
       tains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs.

       If the job is stopping normally, the RESULT environment variable will be ok, otherwise if the job is stopping because it has failed it will
       be failed.

       When  the  job  has  failed, the process that failed will be given in the PROCESS environment variable.	This may be pre-start, post-start,
       main, pre-stop or post-stop; it may also be the special value respawn to indicate that the job is  stopping  because  it  hit  the  respawn
       limit.

       Finally	in  the  case  of  a  failed job, one of either EXIT_STATUS or EXIT_SIGNAL may be given to indicate the cause of the stop.  Either
       EXIT_STATUS will contain the exit status code of the process, or EXIT_SIGNAL will contain the name of the signal that the process received.
       The  normal  exit  job  configuration stanza can be used to prevent particular exit status values or signals resulting in a failed job, see
       init(5) for more information.

       If neither EXIT_STATUS or EXIT_SIGNAL is given for a failed process, it is because the process failed  to  spawn  (for  example,  file  not
       found).	See the system logs for the error.

       init(8)	will  wait  for  all  services	started by this event to be running, all tasks started by this event to have finished and all jobs
       stopped by this event to be stopped before allowing the job to continue stopping.

       This allows jobs to depend on other jobs, safely stopping themselves before their dependency goes away.	This event is  typically  combined
       with the started(7) event by services.

       Job  configuration files may use the export stanza to export environment variables from their own environment into the stopping event.  See
       init(5) for more details.

EXAMPLE
       A service that wishes to depend on another service might use:

	      start on started apache
	      stop on stopping apache

       A task that must be run before another task or service is stopped might use:

	      start on stopping postgresql RESULT=ok

SEE ALSO
       starting(7) started(7) stopped(7) init(5)

Upstart 							    2009-07-09							       stopping(7)
All times are GMT -4. The time now is 08:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy