summarylogtreecommitdiffstats
path: root/prometheus-haproxy-exporter.service
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus-haproxy-exporter.service')
-rw-r--r--prometheus-haproxy-exporter.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/prometheus-haproxy-exporter.service b/prometheus-haproxy-exporter.service
new file mode 100644
index 000000000000..a4882ac8bf8b
--- /dev/null
+++ b/prometheus-haproxy-exporter.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Prometheus HAProxy Exporter
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/prometheus-haproxy-exporter
+ExecStart=/usr/bin/prometheus_haproxy_exporter ${DAEMON_OPTIONS}
+
+[Install]
+WantedBy=multi-user.target