update jellyfin paths

This commit is contained in:
Fredrik Eriksson 2021-12-24 10:54:09 +01:00
parent 68213c955d
commit d4a62ac76d
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D
4 changed files with 20 additions and 13 deletions

View File

@ -1,4 +1,4 @@
AUX jellyfin.conf 125 BLAKE2B 6b9207868eb40b8caad4e8d93958fc10fa9300249c4badd136f5e8c08277f75d7f585bb16fd1d501445b77ffe60643e652ab728a2f8ff043f79a7a27f70c02f7 SHA512 f0ccc53d1c997f7a0ffc3c37ac15629c04e12ce9fac4d29995c5e571ad4e92b58853b74b8feeb652ff5aacd2c580145da064c8c4efd8cc7e449c523263a2829c
AUX jellyfin.init 475 BLAKE2B a787a7409ecb7583c53c58811fc4eb61efbdf25076abe163fbbecab740f3509f20f5fdd6b8f704042bd7b402327dc9bd5e7e09a71a673dc9b5b04de8e6c3ce21 SHA512 80e4b7367d2ef379a4a80a53ec4976c9aed98fc68584a3a1c9c110e91324418133ff26a2a8ecc1d6c8f587bc24200d2934697d7897df0115531a70b3edeceb76
AUX jellyfin.conf 182 BLAKE2B 2ca06c6ffae333c1a5750987604ac84ab3aa5519102b34c02c1aaab309f293dff77579d6ba00053d38a38ae8f0a0e240b8d424102134e5813ea5246b1ecb545f SHA512 f74e90d68a273e7373bb50bba96052289c99384b029c5903a65dfc808d18b1900722b1dcdfa8b7eb97b7d0f9b66de38a1bbdae2c454f4eeca56aee7b05f3a068
AUX jellyfin.init 593 BLAKE2B b0af98bfa830f540554b89970d427c15ff2c74634cac6f7fd4c1ba1bb92fc4e719e4b5053a123a5ef3c32c5e82aaf816120f41e22c31f710e60ba89e098afb20 SHA512 c67053c013f23388b9e5caabbe8c832cac918fc6e271d2d0f8a8f624d594ebde028ce9db885cee693742a346e6c3ac0da4a3a46a176856c0802b69ce7217feb5
DIST jellyfin_10.7.7_amd64.tar.gz 91553323 BLAKE2B ba3008a4cecfd7fa7841153dce8885a1f6c16e65c53b56699b0ad42c2ee19cd982a35d89821d0ccb0a67eff7d0b573e121a36760ebc054edb01d2372c6223154 SHA512 11adfb5f6d5d7aeebbcf0399d1168879abccc49273390466b4a2ab44e4a0833515896e0474160f8e82dcd491db466505a66c9bf293ba3fc1fb9e3e048550fab7
EBUILD jellyfin-bin-10.7.7.ebuild 1024 BLAKE2B 19313298bdd730b6d42cd52c752efb11f029ecbcc99fee9dd0893ba93a52e4cf52db055b3cd5c761ca1c5ee02f93f9b5f9c33abe87f6beaddd3a188e03acb3b5 SHA512 c803f6c304563eed0acb990e4d479759e13749b68590361bfaafc4b79a65be3883696e2786861ef69e468d70cc1a47da6695dab7fe9098b58fa289b6a83e2e0f
EBUILD jellyfin-bin-10.7.7.ebuild 1126 BLAKE2B a8bcb798f52a5a0ce341cf6f709db48540d953c5485c5ddf4ce296a71df3ae9d78c2c641bcff25f63cb45302142621d219d9a9f00c1b15daa2da46f7d6a7d30f SHA512 80e4fafc3ff47eb67698b2b947e60ef810b19d3a986c98eb8e26869723ee84fee54b5e3fd0b341133555fd13bc577ad476f641e19547de9a0605f5c1132c0fe4

View File

@ -1,6 +1,7 @@
# Parameters for jellyfin-server
# Parameters for jellyfin
jellyfin_user="nobody"
#data_dir="/var/lib/jellyfin"
#jellyfin_user="jellyfin"
#config_dir="/etc/jellyfin"
#log_dir="/var/log/jellyfin"
#data_dir="/var/lib/jellyfin/data"
#cache_dir="/var/lib/jellyfin/cache"

View File

@ -2,17 +2,19 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: ${jellyfin_user:=jellyfin}
: ${config_dir:=/etc/jellyfin}
: ${log_dir:=/var/log/jellyfin}
: ${data_dir:=/var/lib/jellyfin/data}
: ${cache_dir:=/var/lib/jellyfin/cache}
name="jellyfin"
description="Jellyfin Daemon"
pidfile=/var/run/${RC_SVCNAME}.pid
command=/opt/jellyfin/jellyfin
command_background=yes
command_user=${jellyfin_user}
: ${data_dir:=/var/lib/jellyfin}
: ${cache_dir:=${data_dir}/cache}
command_args="--datadir ${data_dir} --cachedir ${cache_dir}"
command_args="-c ${config_dir} -l ${log_dir} -d ${data_dir} -C ${cache_dir}"
depend() {
need net

View File

@ -18,7 +18,7 @@ KEYWORDS="~amd64"
DEPEND="dev-util/lttng-ust
acct-user/jellyfin"
RDEPEND="${DEPEND}"
BDEPEND=""
BDEPEND="acct-user/jellyfin"
INST_DIR="/opt/${MY_PN}"
@ -37,4 +37,8 @@ src_install() {
newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init" "${MY_PN}"
diropts -o jellyfin -g jellyfin
keepdir /etc/jellyfin
keepdir /var/log/jellyfin
}