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 14:06 schrieb Muayyad AlSadi:
hi,

in fedora's zookeeper service < /usr/lib/systemd/system/zookeeper.service
we have the following line

ExecStart=/usr/bin/zkServer.sh start zoo.cfg

why not

ExecStart=/usr/bin/zkServer.sh start-foreground zoo.cfg

of type simple

specially that file does not contain "PIDFile=" directive

type simple don't come without drawbacks
depending service shave *no idea* if it is ready

the "clamd" service as example comes with "Type = simple" which means when you are using clamav-milter you get at boot a ton of warnings while "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)

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