]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker: write parent pid in the pidfile
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 6 Nov 2017 10:00:04 +0000 (11:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Nov 2017 10:08:38 +0000 (11:08 +0100)
commitdeed780a22d61e3c34f426f492f5735ac45109c1
treefdd2196388782dd48ca4850786b8b8c33885d21a
parent8029300df64948cf2dbf87e4d71fb6c8d138d49d
MINOR: mworker: write parent pid in the pidfile

The first pid in the pidfile is now the parent, it's more convenient for
supervising the processus.

You can now reload haproxy in master-worker mode with convenient command
like: kill -USR2 $(head -1 /tmp/haproxy.pid)
src/haproxy.c