aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prometheus-wireguard-exporter/prometheus-wireguard-exporter.initd
blob: 9b2efd98dc5bbb125fa147ac8a9f02f0ae304b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/sbin/openrc-run

description="Prometheus Wireguard Exporter"
supervisor=supervise-daemon
command=/usr/bin/prometheus_wireguard_exporter
command_args="-n /etc/wireguard/${INTERFACE}.conf"
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
    need net
}