On Fri, Apr 3, 2015, 14:17 Lennart Poettering <lenn...@poettering.net> wrote:
On Thu, 02.04.15 11:49, Al Lau (laua...@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.
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel