[systemd-devel] option to wait for pid file to appear
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu May 17 14:07:09 UTC 2018
On Thu, May 17, 2018 at 12:12:10PM +0200, Igor Bukanov wrote:
> 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.
FTR, it *is* possible to do live updates like that. We added support
for that with FD_STORE in pid1, and systemd-journald and systemd-logind
now support restart without losing connections. It would be great if
nginx did that too.
Zbyszek
More information about the systemd-devel
mailing list