jingjin / rpms / haproxy

Forked from rpms/haproxy 4 years ago
Clone

Blame SOURCES/haproxy.service

5cd88c
[Unit]
5cd88c
Description=HAProxy Load Balancer
5cd88c
After=syslog.target network.target
5cd88c
5cd88c
[Service]
5cd88c
EnvironmentFile=/etc/sysconfig/haproxy
5cd88c
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS
5cd88c
ExecReload=/bin/kill -USR2 $MAINPID
5cd88c
KillMode=mixed
5cd88c
5cd88c
[Install]
5cd88c
WantedBy=multi-user.target