apkbuilds @ 8655046d5cc5fa9fa2a6f0cf6417d89f78603ab8

 1#!/sbin/openrc-run
 2
 3supervisor=supervise-daemon
 4name=invidious
 5command="/usr/bin/invidious"
 6command_user="${INVIDIOUS_USER:-invidious}"
 7supervise_daemon_args="--env INVIDIOUS_CONFIG_FILE='${INVIDIOUS_CONFIG_FILE:-/etc/invidious/config.yml}'"
 8pidfile="/run/invidious.pid"
 9
10depend() {
11  need net
12  after firewall
13}