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]
|
2015-02-11 17:57:34 +00:00
|
|
|
EnvironmentFile=/etc/sysconfig/haproxy
|
2015-03-04 21:24:54 +00:00
|
|
|
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS
|
2014-08-06 18:04:20 +00:00
|
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
2012-02-20 00:29:09 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|