17

The accepted solutions in other questions, ie:

echo manual > /etc/init/cups.override
echo manual > /etc/init/cups-browsed.override
reboot

Don't work in 16.04. I don't wish to uninstall cups as I'll occasionally need it, but I don't want the service to start automatically on startup.

How can I achieve this in 16.04?

1 Answer 1

38

Since Ubuntu 16.04 aka Xenial is using systemd as init, you have to use systemctl to control/start/stop services.

In your case the lines as follows should do the job.

systemctl stop cups
systemctl stop cups-browsed
systemctl disable cups
systemctl disable cups-browsed

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .