Answer the question
In order to leave comments, you need to log in
Why was the systemd service not removed, and how to completely remove it?
I created a service, checked how it works: it starts, stops, is added to startup, and the like. Then I just deleted the file from /etc/systemd/system/ with my service file. Executed systemctl daemon-reload and forgot all about it. During this time, the server has already rebooted several times.
Now I had to check the list of services, I ran systemctl list-units -t service and saw this test service, which I thought I deleted:
● test.service not-found failed failed test.service
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question