]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: systemd: remove comment about HAPROXY_STATS_SOCKET
authorVincent Bernat <vincent@bernat.im>
Sat, 9 Dec 2017 07:32:13 +0000 (08:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Dec 2017 06:15:50 +0000 (07:15 +0100)
This variable was used by the wrapper which was removed in
a6cfa9098e5a. The correct way to do seamless reload is now to enable
"expose-fd listeners" on the stat socket.

contrib/systemd/haproxy.service.in

index edbd4c292dd589bc1eff300d2859afafe9ccef3a..804be3583c1a5709ca6e4007156148024d0bba0f 100644 (file)
@@ -3,8 +3,6 @@ Description=HAProxy Load Balancer
 After=network.target
 
 [Service]
-# You can point the environment variable HAPROXY_STATS_SOCKET to a stats
-# socket if you want seamless reloads.
 Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid"
 ExecStartPre=@SBINDIR@/haproxy -f $CONFIG -c -q
 ExecStart=@SBINDIR@/haproxy -Ws -f $CONFIG -p $PIDFILE