Ubuntu: Disable start of a service on boot
Date: February 13, 2014
A simple problem I was facing in Ubuntu was finding an equivalent of “chkconfig” available on the Redhat flavors. Well, for the unaware people:
‘chkconfig‘ is popularly used for adding or removing any services during boot. In other words, it updates and queries runlevel information for system services.
So, my search was for a similar tool on Ubuntu. And, this is what I found at the end of the search: update-rc.d. This is very simple to use & equally intuitive as well. For instance,
$> sudo update-rc.d -f mongodb remove Removing any system startup links for /etc/init.d/mongodb ...
The above usage helped me remove ‘mongodb’ from automatically starting on boot. Voila! 🙂
Leave a Reply