Showing posts with label chkconfig. Show all posts
Showing posts with label chkconfig. Show all posts

Saturday, July 4, 2015

boot startup scripts with chkconfig

All the startup scripts in ubuntu is located in /etc/init.d. You can turn these scripts on or off by using chkconfig.

To list the status of all startup scripts

> chkconfig

To turn a script on at level 2, 3, 5

chkconfig memcached on --level 235

To turn off a script

> chkconfig memcached off