diff options
Diffstat (limited to 'apks/invidious/invidious.initd')
-rw-r--r-- | apks/invidious/invidious.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apks/invidious/invidious.initd b/apks/invidious/invidious.initd new file mode 100644 index 0000000..ba29fce --- /dev/null +++ b/apks/invidious/invidious.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +name=invidious +command="/usr/bin/invidious" +command_user="${INVIDIOUS_USER:-invidious}" +supervise_daemon_args="--env INVIDIOUS_CONFIG_FILE='${INVIDIOUS_CONFIG_FILE:-/etc/invidious/config.yml}'" +pidfile="/run/invidious.pid" + +depend() { + need net + after firewall +} |