Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well.

Each of the aforementioned programs when apt-get installed come with /etc/init.d/ scripts. Are the init.d scripts provided to make setup easy for newcomers, and is there a notable benefit to deleting those init.d scripts and managing each program with something like Supervisor, which likely won't be gained through the use of an init.d script?

share|improve this question
    
Actually deleting the scripts in init.d serves no purpose, and may only harm programs that expect the scripts to be there, and may confuse your fellow admins. It will also cause apt* utilities to complain about missing files. If you don't want to use them, ignore them. –  Stefan Lasiewski Dec 31 '12 at 20:45
    
@StefanLasiewski - oh :/ I'm glad you mentioned that. How can the init.d scripts be ignored though, if they're causing their respective programs to start on boot? Or, is something else handling that? For instance, what is causing Nginx to start on boot, and how could I (assuming this would be a good idea) stop that from happening, so that I could use Supervisor instead? –  Johnny 5 Jan 1 '13 at 19:46
add comment

1 Answer

up vote 3 down vote accepted

This is pretty well covered in the Supervisord intro chapter. Most services will run/work just fine with init.d, and that will be their default, out-of-the-box config. The process managers exist to give you expanded and finer-grained control and monitoring of your critical processes and services if that is something you desire/require.

share|improve this answer
add comment

Your Answer

 
discard

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

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