MINOR: systemd: Use variable for config and pidfile paths
authorPavlos Parissis <pavlos.parissis@booking.com>
Tue, 14 Jun 2016 11:28:20 +0000 (13:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 Jun 2016 09:03:13 +0000 (11:03 +0200)
commitcc23a79f34cc5a34572526e8f13b97e28dd09aca
tree44b91d5d3b5488e4b26303749014f446d13100f7
parentdd01678a795fdfa8c77ddbb8d7f5bd3dcf4b23eb
MINOR: systemd: Use variable for config and pidfile paths

Users can set the location of haproxy.cfg and pidfile files by providing
a systemd overwrite file /etc/systemd/system/haproxy.service.d/overwrite.conf
with the following content:

    [Service]
    Environment=CONFIG=/etc/foobar/haproxy.cfg
contrib/systemd/haproxy.service.in