On Fri, 03.04.15 12:45, Mantas Mikulėnas (graw...@gmail.com) wrote:

> Actually why does it need a pidfile in the first place? Systemd is usually
> good at guessing the mainpid.

Yeah, if there's only one process remaining after the parent process
exited, then the PID file logic is unnecessary. That said, it might
still be useful to tell systemd about it, since systemd deletes PID
files automatically when it stops a service, which is still a nice
feature to have.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to