Update-rc.d

From Wiki
Revision as of 18:31, 4 February 2011 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a Debian tool for configuring services to start and stop at specific runlevels.

Set a service to start automatically:

update-rc.d apache2 defaults

Set a service to start automatically with specific parameters:

update-rc.d apache2 start 20 2 3 4 5 . stop 80 0 1 6 .

Disable a service from automatic startup:

update-rc.d -f apache2 remove

More info: http://linuxhelp.blogspot.com/2006/04/enabling-and-disabling-services-during_01.html