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

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

 



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=.

Michal
--
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