Created
January 25, 2022 10:22
-
-
Save mwrites/52f14c85cf7e6d3b67f124cce2d3a559 to your computer and use it in GitHub Desktop.
Completely Remove a Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl stop [servicename] | |
systemctl disable [servicename] | |
rm /etc/systemd/system/[servicename] | |
rm /etc/systemd/system/[servicename] # and symlinks that might be related | |
rm /usr/lib/systemd/system/[servicename] | |
rm /usr/lib/systemd/system/[servicename] # and symlinks that might be related | |
systemctl daemon-reload | |
systemctl reset-failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment