apkbuilds @ a16a58b298d247f918230f7294f30dbd38229736

 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}