diff options
author | Georg | 2021-08-06 17:42:45 +0200 |
---|---|---|
committer | Georg | 2021-08-06 17:42:45 +0200 |
commit | 4bd9e36ff45b2001b048a23a218e26605deac7d0 (patch) | |
tree | 4b592921aa4cbf98d75059f9223712b6ddcc1799 /wireguard_exporter/wireguard_exporter.service | |
parent | 1791f4374b72e5bd45dfbe6d2e543d0537f711e0 (diff) | |
download | monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.gz monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.bz2 monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.zip |
Mass Commit 06/08/2021
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'wireguard_exporter/wireguard_exporter.service')
-rw-r--r-- | wireguard_exporter/wireguard_exporter.service | 11 |
1 files changed, 11 insertions, 0 deletions
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 |