[Exherbo-dev] systemd paludis uninstall phase
exherbo at bernd-steinhauser.de
Tue Jan 18 16:35:06 GMT 2011
On 17/01/11 21:11, Alex Elsayed wrote:
> Bernd Steinhauser wrote:
>> If you have a service running and then uninstall it, the .service file
>> gets removed, because it's not under copy protection (installed in /lib).
>> The service is still running, but it is not possible to stop it – using
>> systemctl – anymore.
> It is possible to stop the service IIUC. Stopping it with
> 'systemctl stop' is impossible, but AFAIK using 'systemctl
> kill -s TERM $service' still works because 'systemctl kill'
> just goes for the appropriate cgroup and sends the signal to
> all contained processes.
Yes, of course the service remains in the cgroup, which you can always use to
kill it, but that is not necessarily the way it should be done and it might
still leave a dead symlink behind.
More information about the Exherbo-dev