apkbuilds @ bd924ac39c2d6cffdb9012fb4a60a69092ce6b36

 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}