diff options
Diffstat (limited to 'wireguard_exporter')
-rw-r--r-- | wireguard_exporter/README.md | 1 | ||||
-rw-r--r-- | wireguard_exporter/wireguard_exporter.service | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/wireguard_exporter/README.md b/wireguard_exporter/README.md new file mode 100644 index 0000000..4628c2a --- /dev/null +++ b/wireguard_exporter/README.md @@ -0,0 +1 @@ +We are using this one: https://github.com/mdlayher/wireguard_exporter 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 |