Difference between revisions of "Uninstall systemd services"

From Run Your Own
Jump to: navigation, 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...")
 
 
Line 9: Line 9:
 
systemctl reset-failed
 
systemctl reset-failed
 
</pre>
 
</pre>
 +
 +
[[Category: Maintenance]]

Latest revision as of 15: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