From what I understood, the /etc/init.d directory contains the scripts executed by init at boot time. Is that only for Debian or for Ubuntu 14.04 as well?
I am wondering because I have several scripts in the init.d directory but they do not seem to be run when the server starts. Is there a log to check?
For example, when I installed supervisor (apt-get install supervisor
), it created an init script in /etc/init.d/supervisor
which is supposed to start it but when I start my server, supervisor does not run.
I have some other examples so it does not seem to be related to the supervisor script only.
Also, what is the difference between /etc/init.d
and etc/init
? I am confused.
Thanks