Keeping a daemon running?

Gilles Germon ggermon at soubabere.fr
Wed Jan 13 02:12:07 PST 2010


Hi,

If Ubuntu, take a look at files in /etc/event.d, some have respawn like tty1

Gilles
> -----Message d'origine-----
> De : linux-users-bounces at linux-sxs.org [mailto:linux-users-bounces at linux-
> sxs.org] De la part de Michael Hipp
> Envoyé : mercredi 13 janvier 2010 01:12
> À : Linux tips and tricks
> Objet : Re: Keeping a daemon running?
> 
> 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
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc:
> http://linux-sxs.org/mailman/listinfo/linux-users
> 
> Need to chat further on this subject? Check out #linux-users on irc.linux-
> sxs.org !





More information about the Linux-users mailing list