summaryrefslogtreecommitdiffstats
path: root/wireguard_exporter/wireguard_exporter.service
blob: faaf452fca93ca5b95ecb5b9dd26765653564f44 (plain)
1
2
3
4
5
6
7
8
9
10
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