[systemd-devel] option to wait for pid file to appear

Reindl Harald h.reindl at thelounge.net
Thu May 17 10:29:39 UTC 2018



Am 17.05.2018 um 12:12 schrieb Igor Bukanov:
> On 17 May 2018 at 11:58, Mantas Mikulėnas <grawity at gmail.com> wrote:
>> Have you tried without the PIDFile= setting at all?
> 
> As far as I can see that breaks live updates that nginx supports where
> it starts a new process and workers and then gracefully terminates the
> old main

this would be anyways broken because systemd reads the PIDFile once at
start to dtermine MAINPID and if MAINPID goes away the service fails


More information about the systemd-devel mailing list