The init.d directory contains a number of start/stop scripts for various services on your system.

learn more… | top users | synonyms

216
votes
6answers
227k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
3
votes
1answer
306 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
11
votes
4answers
12k views

How to correctly add a custom daemon to init.d?

I've got a 3-rd party proprietary application server daemon which can be started and stopped by couple of command lines. I need this daemon to start when the system starts up and correctly stopped on ...
15
votes
8answers
15k views

haproxy doesn't start

Installed a new Ubuntu 10.04 server and logging in as root I installed haproxy using apt-get. I can run haproxy directly as a daemon but when I do /etc/init.d/haproxy start nothing happens.. not even ...
2
votes
5answers
12k views

init.d script startup problems

I Have this init.d script which I am trying to get to startup with ubuntu however it wont run at startup. It does work when i type "sudo /etc/init.d/couchpotato start" though. Any ideas on how to get ...
6
votes
2answers
2k views

Start / stop init.d script without root access

I am setting up an ubuntu-server in order to host the virtuoso server. I want to setup a simple user (without sudo) account that will (only) be able to run /etc/init.d/virtuoso-opensource-6.1 ...
4
votes
3answers
5k views

Don't start Xserver

I'm trying to convince Ubuntu's init system not to start X11 at boot-up. Removing gdm did not change the fact that each time the machine restarts, X11 with Gnome comes up. How do I get rid of it? I ...
36
votes
3answers
21k views

What is the difference between /etc/init/ and /etc/init.d/?

What is the difference between /etc/init/ and /etc/init.d/? More generally, what meaning does the ".d" suffix convey to a directory?
25
votes
4answers
26k views

Command to list services that start on startup?

Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/, and the various /etc/rc.* directories.