3

I need to manually create auto-respawning for lighttpd & MySQL to make sure it running all time

But what is the code to put in /etc/inittab?

thanks

2

Oh, I hate myself for saying this, but have you looked at daemontools by DJB? ( http://cr.yp.to/daemontools.html ) They do what you want. But why do you want to do it like that?

Are you having some sort of problem where your daemons die? Can't we fix the problem, rather than continually respawn them?

  • +1 for medicating, not band-aid. – sybreon Jan 25 '10 at 5:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy