BUG/MINOR: systemd: ExecStartPre must use -Ws
This line should disappear in a future version but we should still fix ExecStartPre with -Ws like we've done in9def142
. It's a complementary fix that must be backported with9def142
("BUG/MINOR: systemd: must check the configuration using -Ws").
This commit is contained in:
parent
c4e5232db8
commit
6f58c13797
|
@ -7,7 +7,7 @@ Wants=network-online.target
|
|||
EnvironmentFile=-/etc/default/haproxy
|
||||
EnvironmentFile=-/etc/sysconfig/haproxy
|
||||
Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock"
|
||||
ExecStartPre=@SBINDIR@/haproxy -f $CONFIG -c -q $EXTRAOPTS
|
||||
ExecStartPre=@SBINDIR@/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS
|
||||
ExecStart=@SBINDIR@/haproxy -Ws -f $CONFIG -p $PIDFILE $EXTRAOPTS
|
||||
ExecReload=@SBINDIR@/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
|
|
Loading…
Reference in New Issue