Category: sysadmin Generated on 2017-06-23 source
systemctl enable
works by manipulating symlinks in /etc/systemd/system/
(for system daemons). When you enable a service, it looks at the WantedBy
lines in the [Install]
section, and plops symlinks in the .wants
directory
of the specified service.
systemctl disable does the opposite.
Just remove those symlinks.