dev-os

[Linux] systemd 서비스 제거

검은바람 2022. 10. 4. 10:48
반응형
systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] # and symlinks that might be relatedrm /usr/lib/systemd/system/[servicename] 
rm /usr/lib/systemd/system/[servicename] # and symlinks that might be relatedsystemctl daemon-reload
systemctl reset-failed
반응형