# systemd drop-in: point distro HAProxy at the EdgeGuard-generated # config without touching /etc/haproxy/haproxy.cfg (which is a # conffile of the haproxy package). Installed by edgeguard-api's # postinst into /etc/systemd/system/haproxy.service.d/edgeguard.conf. [Unit] # api_backend points at edgeguard-api on 127.0.0.1:9443 — wait for # it to be up before starting, otherwise HAProxy 503s for ~5s while # its L4 health-check polls. After=edgeguard-api.service Wants=edgeguard-api.service [Service] ExecStart= ExecStart=/usr/sbin/haproxy -Ws -f /etc/edgeguard/haproxy/haproxy.cfg -p /run/haproxy.pid -S /run/haproxy-master.sock