hitman1bob
9/6/2017 - 10:33 PM

Recipe to remove a service in Linux systemd

Recipe to remove a service in Linux systemd

systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] symlinks that might be related
systemctl daemon-reload
systemctl reset-failed