"watchdog" for a process?
Michael R. Head
burner at suppressingfire.org
Wed Sep 19 20:04:22 UTC 2007
On Wed, 2007-09-19 at 14:53 -0400, Bart Silverstrim wrote:
> Is there a quick and short script, maybe something that can be run in
> Cron, that will look at the process list and if a process has been
> killed or had died will restart the process?
I believe you could construct such a script around start-stop-daemon:
http://www.annodex.net/cgi-bin/man/man2html?start-stop-daemon+8
mike
--
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070919/051b3931/attachment.bin>
More information about the ubuntu-users
mailing list