Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?


share|improve this question

1 Answer 1

Oh, I hate myself for saying this, but have you looked at daemontools by DJB? ( ) 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?

share|improve this answer
+1 for medicating, not band-aid. – sybreon Jan 25 '10 at 5:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.