diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-10-09 12:09:44 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-10-09 12:10:30 +0200 |
commit | 87a1f27eea7dfc9f8574c6c11061480841c173df (patch) | |
tree | c9159f135fe85a5cbab465319f44d617dc972570 /apks/invidious/invidious.initd | |
parent | b813b1aa521468551ffb2ba80d03e820cbd6a8eb (diff) | |
download | apkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.tar.gz apkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.tar.bz2 apkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.zip |
chore: Add invidious
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 +} |