2012-02-20 00:29:09 +00:00
|
|
|
[Unit]
|
2014-08-06 18:04:20 +00:00
|
|
|
Description=HAProxy Load Balancer
|
2012-02-20 00:57:09 +00:00
|
|
|
After=syslog.target network.target
|
2012-02-20 00:29:09 +00:00
|
|
|
|
|
|
|
[Service]
|
2014-08-06 18:04:20 +00:00
|
|
|
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
|
|
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
2012-02-20 00:29:09 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|