mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 02:41:17 +02:00
12 lines
250 B
Plaintext
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
|
|
}
|