ngompa / rpms / haproxy

Forked from rpms/haproxy 4 years ago
Clone

Blame SOURCES/haproxy.service

819a9f
[Unit]
819a9f
Description=HAProxy For TCP And HTTP Based Applications
819a9f
After=syslog.target network.target
819a9f
819a9f
[Service]
819a9f
Type=forking
819a9f
PIDFile=/run/haproxy.pid
819a9f
ExecStartPre=/usr/sbin/haproxy -c -q -f /etc/haproxy/haproxy.cfg
819a9f
ExecStart=/usr/sbin/haproxy -D -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid
819a9f
ExecReload=/bin/bash -c "exec /usr/sbin/haproxy -D -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf $MAINPID"
819a9f
819a9f
[Install]
819a9f
WantedBy=multi-user.target