[systemd-devel] systemd and smartd daemon
Mantas Mikulėnas
grawity at gmail.com
Fri Apr 3 05:45:54 PDT 2015
On Fri, Apr 3, 2015, 14:17 Lennart Poettering <lennart at poettering.net>
wrote:
On Thu, 02.04.15 11:49, Al Lau (lauatic at gmail.com) wrote:
> As a test, the "/usr/sbin/smartd $smartd_opts" is invoked from the command
> line and the daemon is forked and stayed up as expected. By default, the
> /usr/sbin/smartd daemonize.
Well, but does it do that correctly? i.e. does it *double* fork, not
just once? Does it write the PID file *before* exiting in the parent?
Actually why does it need a pidfile in the first place? Systemd is usually
good at guessing the mainpid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150403/24059989/attachment.html>
More information about the systemd-devel
mailing list