Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 102011
 

Disable a service in Ubuntu using upstart

Answer:

In newer version of Ubuntu such as 10.04, some services are managed by upstart and you cannot disable them by using the old method.

For example, to disable the OpenSSH server, you need to edit the file /etc/init/ssh.conf, comment out the following lines:

# start on filesystem
# stop on runlevel [!2345]

Then this service will not start when you reboot your machine next time. All the upstart configurations files are under this folder and feel free to try it out.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>