[systemd-devel] systemd and smartd daemon

Andrei Borzenkov arvidjaar at gmail.com
Fri Apr 3 09:38:51 PDT 2015


В Fri, 3 Apr 2015 13:17:05 +0200
Lennart Poettering <lennart at poettering.net> пишет:

> 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

yes.

> just once? Does it write the PID file *before* exiting in the parent?
> 

It does not write PID file unless explicitly requested by argument,
which was the main cause of problem here.


More information about the systemd-devel mailing list