monitoring/wireguard_exporter/wireguard_exporter.service

12 lines
237 B
SYSTEMD
Raw Normal View History

[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