1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Prometheus WireGuard Exporter Wants=network-online.target After=network.target [Service] Type=simple EnvironmentFile=-/etc/conf.d/prometheus-wireguard-exporter ExecStart=/usr/bin/prometheus_wireguard_exporter $WIREGUARD_EXPORTER_ARGS [Install] WantedBy=multi-user.target