From 79c054a4536b9f21fa8e98513afb2cbcd799f71e Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 17 Oct 2022 21:48:23 +0000 Subject: feat: Add jellyfin Add jellyfin to avoid importing the whole edge repo. --- apks/jellyfin/jellyfin.initd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 apks/jellyfin/jellyfin.initd (limited to 'apks/jellyfin/jellyfin.initd') 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" +} -- cgit v1.2.3