diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-26 15:20:41 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-12-26 15:20:41 +0100 |
commit | 49e92cf705771c2a47fed50f95b42ab65a49e77a (patch) | |
tree | bfea35471a544613b130fa77a8e4ca3f0427e243 /apks/jellyfin/jellyfin.initd | |
parent | b13ca1652f870af62f05fbb7d455aab1898eab0a (diff) | |
download | apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.gz apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.bz2 apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.zip |
fix: Add jellyfin again
Diffstat (limited to 'apks/jellyfin/jellyfin.initd')
-rw-r--r-- | apks/jellyfin/jellyfin.initd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apks/jellyfin/jellyfin.initd b/apks/jellyfin/jellyfin.initd new file mode 100644 index 0000000..278d79d --- /dev/null +++ b/apks/jellyfin/jellyfin.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run + +name=jellyfin +description="The Free Software Media System" + +command=/usr/bin/jellyfin +command_user=jellyfin:jellyfin +command_args="--datadir ${datadir} --cachedir ${cachedir} --logdir ${logdir} ${opts}" + +depend() { + use logger dns + need net + after firewall +} + +start_pre() { + checkpath -d -o $command_user "$datadir" + checkpath -d -o $command_user "$cachedir" + checkpath -d -o $command_user "$logdir" +} |