Keeping a daemon running?

Michael Hipp Michael at hipp.com
Tue Jan 12 17:11:54 PST 2010


Jay Nugent wrote:
> Greetings,
> 
> On Wed, 13 Jan 2010, James McDonald wrote:
> 
>> On 13/01/10 06:36, Michael Hipp wrote:
>>> I have servers with a couple of daemons that regularly seem to silently
>>> die off. It would be great to have some tool that would detect this
>>> fault condition and dutifully restart them. I know such things exist,
>>> was wondering if anyone here could recommend something that does this?
>> monit
>>
>> http://mmonit.com/monit/
> 
>    Or you can launch the daemon from within /etc/inittab and set it to 
> "respawn".  Like this:

Thanks. One difficulty might be that Ubuntu no longer even /has/ inittab. 
There's probably a way to do the same in upstart, but I'm too lazy to go figure 
it out.

Michael



More information about the Linux-users mailing list