Welcome to It-Slav.Net blog
Peter Andersson
peter@it-slav.net

I've already got a female to worry about. Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0

In RedHat, CentOs and Suse and probaly other Linux distributions, the way of enabling and disabling a service at reboot is by using chkconfig. In ubuntu, the way of turning on and off a services at boot is by using update-rc.d. It changes the links for the init scripts.

 

To start a script in the default run levels:

sudo update-rc.d appname defaults

To remove a script from all runlevels:

sudo update-rc.d appname remove
Share

Leave a Reply


9 − = three





Book reviews
FreePBX 2.5
Powerful Telephony Solutions






Asterisk 1.6
Build a feature rich telephony system with Asterisk






Learning NAGIOS 3.0





Cacti 0.8 Network Monitoring,
Monitor your network with ease!