Enabling or disabling service on startup in debian

From Notes_Wiki
Revision as of 00:22, 3 January 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Debian|Debian</yambe:breadcrumb> =Enabling or disabling service on start-up in debian= To enable a service on start-up, assuming /etc/init.d/<service>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Debian|Debian</yambe:breadcrumb>

Enabling or disabling service on start-up in debian

To enable a service on start-up, assuming /etc/init.d/<service> file exists use:

update-rc.d <service_name> defaults

To disable a service from start-up use:

update-rc.d <service_name> remove

A ncurses based tool named 'rcconf' can be used to get interface equivalent to 'setup' for configuring start-up applications.


Steps have been learned from http://knowledgelayer.softlayer.com/learning/how-start-applications-boot-debian