haproxy/haproxy.service

12 lines
301 B
SYSTEMD
Raw Normal View History

2012-02-20 00:29:09 +00:00
[Unit]
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]
EnvironmentFile=/etc/sysconfig/haproxy
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS
ExecReload=/bin/kill -USR2 $MAINPID
2012-02-20 00:29:09 +00:00
[Install]
WantedBy=multi-user.target