Re: Moving pid files from /var/run/$name.pid to /var/run/$name/$name.pid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2012-08-24 at 13:58 +0100, Andrew Price wrote:

> If Type=forking is set and PIDFile is unset, systemd will try to guess 
> the PID of the main daemon process. I'm not sure what the guessing 
> strategy is but specifying the PIDFile explicitly is probably safer, 
> particularly for daemons which spawn >1 processes.

Or you switch to non-forking, which is just plain better.  We discussed
this recently on the SELinux list:


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux