forked from pool/haproxy
815be0e3e6
1 OBS-URL: https://build.opensuse.org/request/show/238588 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/haproxy?expand=0&rev=6
13 lines
494 B
Diff
13 lines
494 B
Diff
diff --git a/contrib/systemd/haproxy.service.in b/contrib/systemd/haproxy.service.in
|
|
index 1a3d2c0..9b3b72a 100644
|
|
--- a/contrib/systemd/haproxy.service.in
|
|
+++ b/contrib/systemd/haproxy.service.in
|
|
@@ -3,6 +3,7 @@ Description=HAProxy Load Balancer
|
|
After=network.target
|
|
|
|
[Service]
|
|
+ExecStartPre=@SBINDIR@/haproxy -f /etc/haproxy/haproxy.cfg -c -q
|
|
ExecStart=@SBINDIR@/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
Restart=always
|