aports/testing/prometheus-wireguard-exporter/prometheus-wireguard-exporter.initd
2020-02-12 17:15:16 -03:00

12 lines
250 B
Plaintext

#!/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
}