Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.