Store Jellyfin domain in secrets
This commit is contained in:
parent
037b4d0f92
commit
ef630602d7
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue