]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: systemd wrapper: add support for passing the -x option.
authorOlivier Houchard <ohouchard@haproxy.com>
Sun, 9 Apr 2017 14:28:10 +0000 (16:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Apr 2017 17:15:17 +0000 (19:15 +0200)
commit2c9744fe56825c83d62fd94db52fbb489227f4cd
treef46e7b77fdea8baf5bbd6079bd9b214e6833413b
parent547408787ffe1c03b975e94f01b64492d15ca97d
MINOR: systemd wrapper: add support for passing the -x option.

Make the systemd wrapper chech if HAPROXY_STATS_SOCKET if set.
If set, it will use it as an argument to the "-x" option, which makes
haproxy asks for any listening socket, on the stats socket, in order
to achieve reloads with no new connection lost.
contrib/systemd/haproxy.service.in
src/haproxy-systemd-wrapper.c