Enabling or disabling service on startup in debian

From Notes_Wiki

Home > Debian > Enabling or disabling service on startup 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




Home > Debian > Enabling or disabling service on startup in debian