Ubuntu: Disable daemon on startup

Written by
Date: 2012-12-29 22:32:32 00:00


If you need to disable a daemon from automatically starting at boot on Ubuntu or Debian, you can run:

 sudo update-rc.d -f nginx disable

In the case that is nginx which you want to stop from being started at boot time.

For Apache that would be:

 sudo update-rc.d -f apache2 disable

And so on.