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 created a service script in /etc/init.d (Debian) that is working - I can start/stop/status/restart. But it is not respawning. Is it possible to respawn?

Thanks in advance

share|improve this question

closed as too broad by Scott Pack, mdpc, Tim Brigham, Ward, Christopher Perrin Aug 8 '13 at 13:33

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can respawn it by editing /etc/inittab file.

share|improve this answer
Perhaps you could explain how to do this? Also maybe provide an example? – slm Aug 7 '13 at 13:32
editing /etc/inittab can be done by issuing the command vim /etc/inittab. An example is already present at line 63. – user130370 Aug 7 '13 at 13:49
Thanks I tried and it works perfectly. g1:2345:respawn:/path/to/ – Winston Aug 8 '13 at 2:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.