User Tools

Site Tools


info:linux:debian:disable_service

Disable a Service

To disable a service:

service <service> stop
update-rc.d <service> enable|disable

With systemd (starting with Debian 8):

systemctl disable <service>

To (re)enable a service:

update-rc.d <service> enable|disable
service <service> stop

With systemd (starting with Debian 8):

systemctl enable <service>
info/linux/debian/disable_service.txt · Last modified: 2016-10-01 21:54 by andunix