Uninstall systemd services: Difference between revisions

From Run Your Own
Jump to navigation Jump to search
(Created page with "<pre> systemctl stop [servicename] systemctl disable [servicename] rm /etc/systemd/system/[servicename] rm /etc/systemd/system/[servicename] # and symlinks that might be relat...")
 
No edit summary
 
Line 9: Line 9:
systemctl reset-failed
systemctl reset-failed
</pre>
</pre>
[[Category: Maintenance]]

Latest revision as of 13:59, 5 April 2024

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