Re: Request new package

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

 




Am 24.10.2014 um 13:54 schrieb Richard Shaw:
On Tue, Oct 21, 2014 at 9:45 AM, Valerio Pachera <sirio81@xxxxxxxxx
<mailto:sirio81@xxxxxxxxx>> wrote:

    [Service]
    EnvironmentFile=/etc/conf.d/
    sheep.conf
    ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid ${SHEEP_OPTS}
    ${SHEEP_PATH}
    PIDFile=/var/run/sheep.pid
    Type=forking

Does sheep fork by default? Is there an option to make it not fork?

The reason I ask is that Type=simple should be preferred. Then there's
no PID file to track since it stays the same and it's preferred over
Type=forking which is mainly for sysvinit compatibility

that is only one side of the coin

the other side is the depending services have no idea in case of "Type=simple" if it has finished startup - that's why you don't see any such service in "systemd-analyze blame" - the startup is a "fire and forget" as long it don't terminate

see here:
https://bugzilla.redhat.com/show_bug.cgi?id=1126595#c1

after change clamd to "Type=forking" systemd knows when it's startup has finished because it forks after that and the After/Before of the milter works relieable

so have postfix depending on all milters the first time when Port 25 accepts connections any other services are also in a sane state instead throw around temporary rejects because half of the infrastructure is not ready

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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