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