From ef630602d7b9953d9ba21b2ba38937fab22bc478 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 26 Nov 2024 16:01:38 +0100 Subject: [PATCH] Store Jellyfin domain in secrets --- scripts/Common/Software/docker/services/jellyfin/main.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Common/Software/docker/services/jellyfin/main.fish b/scripts/Common/Software/docker/services/jellyfin/main.fish index ae61b100..f6c24885 100755 --- a/scripts/Common/Software/docker/services/jellyfin/main.fish +++ b/scripts/Common/Software/docker/services/jellyfin/main.fish @@ -62,9 +62,9 @@ begin sudo tee "$config" >/dev/null end - cp "$config" "$file" + cp "$secrets" "$file" URL="https://$(getServiceDomain "$domain" "")/" yq "$(getServiceKey "$service").environment.JELLYFIN_PublishedServerUrl = env(URL)" "$file" | \ - sudo tee "$config" >/dev/null + sudo tee "$secrets" >/dev/null for dir in "$root"/{downloads,config/{,jellyfin,flood,rtorrent,radarr,sonarr,lidarr,prowlarr},media/{,movies,series,music}} sudo mkdir -p "$dir"