Re: is there a reason for starting zookeeper.service in background?

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

 





Am 11.01.2016 um 15:37 schrieb Michal Schmidt:
On 01/11/2016 02:58 PM, Reindl Harald wrote:
Am 11.01.2016 um 14:32 schrieb Muayyad AlSadi:
"Type=forking" implies that depending services are started
*after* the forking and the service is *really* read (it needs
depending on the signatures a longer time for initalization)

but I guess it needs a PID file path to work properly which is not
the case

*nothing* needs a PID file path because systemd knows the main-PID
since it's a supervisor

systemd cannot always guess which PID is the main PID of the service,
so with Type=forking it's good to use PIDFile=

every service in the last years which logged warnings about PIDFile while working fine was fixed here by remove that line

the main PID is the PID after the double-fork

Attachment: signature.asc
Description: OpenPGP digital signature

--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx

[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