blob: 85937e41e06379d2bb374dd83b06a128d1156573 [file] [log] [blame]
Marc-Antoine Perennouf8255802013-02-13 09:28:50 +01001[Unit]
2Description=HAProxy Load Balancer
3After=network.target
4
5[Service]
Kristoffer Grönlund91a9f1a2014-10-09 16:51:29 +02006ExecStartPre=@SBINDIR@/haproxy -f /etc/haproxy/haproxy.cfg -c -q
Marc-Antoine Perennouf8255802013-02-13 09:28:50 +01007ExecStart=@SBINDIR@/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
8ExecReload=/bin/kill -USR2 $MAINPID
Apollon Oikonomopoulos74f01692014-10-08 15:14:41 +03009KillMode=mixed
Marc-Antoine Perennouf8255802013-02-13 09:28:50 +010010Restart=always
11
12[Install]
13WantedBy=multi-user.target