update-rc.d
is for managing System-V init scripts (in /etc/init.d
), not Upstart jobs (in /etc/init
). To temporarily disable services started by init scripts run
update-rc.d -f SERVICE disable
Re-enable by running
update-rc.d -f SERVICE enable
Replace SERVICE
with the actual name of your service.
To temporarily disable Upstart jobs create a file with the same name as the service and the extension .override
in the Upstart config directory. The content of the file should be just the word "manual."
echo 'manual' > /etc/init/SERVICE.override
Again, replace SERVICE
with the actual name of your service.
With that file in place you can still manually start and stop the service (e.g. service SERVICE stop
), but Ubuntu will no longer automatically start the service at system startup. If you create the file before installing the package the system also won't automatically start the service during installation.
Remove /etc/init/SERVICE.override
to restore the default behavior.
For more information about Upstart overrides see here.
Addendum: On Ubuntu update-rc.d -f SERVICE disable
also disables Upstart jobs, not just SysV init scripts.