apkbuilds @ b9d7aa0d477d23b5e9eee316152b580236aaa8fb

 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}