From 4bd9e36ff45b2001b048a23a218e26605deac7d0 Mon Sep 17 00:00:00 2001 From: Georg Date: Fri, 6 Aug 2021 17:42:45 +0200 Subject: Mass Commit 06/08/2021 Signed-off-by: Georg --- wireguard_exporter/wireguard_exporter.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 wireguard_exporter/wireguard_exporter.service (limited to 'wireguard_exporter/wireguard_exporter.service') diff --git a/wireguard_exporter/wireguard_exporter.service b/wireguard_exporter/wireguard_exporter.service new file mode 100644 index 0000000..faaf452 --- /dev/null +++ b/wireguard_exporter/wireguard_exporter.service @@ -0,0 +1,11 @@ +[Unit] +Description=Prometheus WireGuard Exporter +After=network.target + +[Service] +Type=simple +Restart=always +ExecStart=/usr/local/bin/wireguard_exporter -wireguard.peer-file /etc/wireguard/peers.toml + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3