[systemd-devel] systemd and smartd daemon

Lennart Poettering lennart at poettering.net
Fri Apr 3 06:08:28 PDT 2015


On Fri, 03.04.15 12:45, Mantas Mikulėnas (grawity at 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


More information about the systemd-devel mailing list