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

Lennart Poettering lennart at poettering.net
Thu May 17 17:27:42 UTC 2018


On Do, 17.05.18 13:18, Igor Bukanov (igor at mir2.org) wrote:

> Notice that there are 2 master processes, the old one with pid 2408
> and the one 2418. Initiate the shutdown of the initial master:

nginx can let PID 1 know about the new main PID by sending a MAINPID=
sd_notify() message.

Or even better, it could just push its fds into the fdstore and let
systemd take care of restarts without losing connections...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list