You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
441 B

[Unit]
Description=HAProxy Load Balancer Configured for Kazoo
After=syslog.target network.target
[Service]
User=haproxy
Group=daemon
PermissionsStartOnly=true
PIDFile=/var/run/haproxy/kazoo-haproxy.pid
Environment=HAPROXY_BIN=/usr/sbin/haproxy-systemd-wrapper
ExecStartPre=/usr/sbin/kazoo-haproxy prepare
ExecStart=/usr/sbin/kazoo-haproxy foreground
ExecReload=/bin/kill -USR2 $MAINPID
Restart=on-abort
[Install]
WantedBy=multi-user.target