summarylogtreecommitdiffstats
path: root/prometheus-wireguard-exporter.service
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus-wireguard-exporter.service')
-rw-r--r--prometheus-wireguard-exporter.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/prometheus-wireguard-exporter.service b/prometheus-wireguard-exporter.service
index 1f2ef5899d59..9619e9a7f7fc 100644
--- a/prometheus-wireguard-exporter.service
+++ b/prometheus-wireguard-exporter.service
@@ -1,8 +1,10 @@
[Unit]
-Description=Prometheus Exporter for wireguard metrics
+Description=Prometheus WireGuard Exporter
+Wants=network-online.target
After=network.target
[Service]
+Type=simple
ExecStart=/usr/bin/prometheus_wireguard_exporter -l 127.0.0.1
[Install]