Process Watchdogs
Rod Haper
rhaper at houston.rr.com
Mon Jan 24 01:00:26 UTC 2005
Richard Worwood wrote:
> I'm have a problem with one of my servers at the moment where services
> keep stopping and I would like to setup some kind of watchdog process to
> keep this in check, notify me when it happens and restart them.
>
> Does anyone have any ideas on how I can do this?
>
> Thanks
>
> Richard
>
Put them in your '/etc/inittab' with the "respawn" action and let init
run them when your server boots. If they die, init will restart them.
See the man pages for 'init' and 'inittab'.
More information about the fedora-list
mailing list