Difference between revisions of "Ubuntu runlevel service startup"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)

Revision as of 16:44, 12 April 2013

Command line tool to manage services / Ubuntu runleve

l

update-rc.d automatically updates the System V style init script links /etc/rcrunlevel.d/NNname to scripts /etc/init.d/name. These are run by init when changing runlevels and are generally used to start and stop. For example turn on ssh service type the command:

# update-rc.d ssh defaultsOR$ sudo update-rc.d ssh defaults


Again use update-rc.d command:

# update-rc.d SERVICE-NAME remove