This question already has an answer here:
- How to enable or disable services? 7 answers
For some reason I need to disable a system service on boot. In my case this is the Avahi Daemon. I just don't want it to start on boot.
In previous Ubuntu releases (e.g. 12.04) I could do
sudo update-rc.d avahi-daemon disable
However on 14.04 it shows
update-rc.d: warning: start runlevel arguments (none) do not match avahi-daemon Default-Start values (2 3 4 5) update-rc.d: warning: stop runlevel arguments (none) do not match avahi-daemon Default-Stop values (0 1 6) System start/stop links for /etc/init.d/avahi-daemon do not exist.
And Avahi is started on boot. How can I disable this? I'm looking for a command line way of doing this.
And please care to explain what happened here? Some change in a recent Ubuntu release broke the use of
update-rc.d? I suspect I'm missing something here.