Obsidian/Recognition/Programing/Linux/Linux 명령어/리눅스 데몬 서비스 관련.md

442 B


서비스 삭제

systemctl stop [servicename].service
systemctl disable [servicename].service
rm /etc/systemd/system/[servicename].service
rm /etc/systemd/system/[servicename].service # and symlinks that might be related
rm /usr/lib/systemd/system/[servicename].service 
rm /usr/lib/systemd/system/[servicename].service # and symlinks that might be related
systemctl daemon-reload
systemctl reset-failed