blob: 4ceda7a6187284f1b359e419ffc6c61af896a372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Expose data from HAProxy for collection by Prometheus
BindsTo=haproxy.service
After=haproxy.service
[Service]
User=nobody
Group=systemd-journal
Environment='LICENCE_LOCATION=/usr/share/doc/prometheus-haproxy-log-exporter/copyright'
ExecStart=/usr/bin/prometheus-haproxy-log-exporter --journal
[Install]
WantedBy=haproxy.service
|