summarylogtreecommitdiffstats
path: root/prometheus-wireguard-exporter.service
diff options
context:
space:
mode:
authorSlashbunny2022-04-20 14:20:20 -0400
committerSlashbunny2022-04-20 14:20:20 -0400
commit52ea695f1bdbed7f1127897c70bb786573ecfd26 (patch)
tree2e326da4e456873663ceaae0f0d7b72d52447e21 /prometheus-wireguard-exporter.service
parent3d1ced8177e46a6d41a1b345eca79839c0d8e0ce (diff)
downloadaur-52ea695f1bdbed7f1127897c70bb786573ecfd26.tar.gz
Update to latest; Add conf.d; Add gitignore
Diffstat (limited to 'prometheus-wireguard-exporter.service')
-rw-r--r--prometheus-wireguard-exporter.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/prometheus-wireguard-exporter.service b/prometheus-wireguard-exporter.service
index 9619e9a7f7fc..fcb1b1946212 100644
--- a/prometheus-wireguard-exporter.service
+++ b/prometheus-wireguard-exporter.service
@@ -5,7 +5,8 @@ After=network.target
[Service]
Type=simple
-ExecStart=/usr/bin/prometheus_wireguard_exporter -l 127.0.0.1
+EnvironmentFile=-/etc/conf.d/prometheus-wireguard-exporter
+ExecStart=/usr/bin/prometheus_wireguard_exporter $WIREGUARD_EXPORTER_ARGS
[Install]
WantedBy=multi-user.target