2014-06-25 15:24:23 +02:00
|
|
|
diff --git a/contrib/systemd/haproxy.service.in b/contrib/systemd/haproxy.service.in
|
2014-10-11 19:26:21 +02:00
|
|
|
index 0bc5420..85937e4 100644
|
2014-06-25 15:24:23 +02:00
|
|
|
--- 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
|
2014-10-11 19:26:21 +02:00
|
|
|
KillMode=mixed
|