[dundee] Starting Scripts and Respawning

'Gary Short' gary at garyshort.org
Fri Mar 25 14:38:01 UTC 2011


Okay, so I have a script which I want to start when the machine starts, but
I will also have to start and stop it manually, so I could put it in
/etc/init.d. But, I also want it to be respawned by the OS if it get's
stopped, so I could put it in inittab, but will that allow me to start/stop
it manually? What is the best way to get a script to have the following
properties:

 

1.       Start when the machine starts

2.       Respawn if it is stopped

3.       Be manually start/stoppable

 

Thanks for your help guys.

 

Cheers,

Gary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/dundee/attachments/20110325/c7569922/attachment.htm>


More information about the dundee mailing list