mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Add symlink for transcodes folder
https://github.com/alexbelgium/hassio-addons/issues/777
This commit is contained in:
@@ -24,6 +24,11 @@ mkdir -p "$LOCATION" "$LOCATION"/data "$LOCATION"/cache "$LOCATION"/log "$LOCATI
|
||||
cp -rn /usr/share/jellyfin/web/* "$LOCATION"/web/
|
||||
sed -i "s|/usr/share/jellyfin|$LOCATION|g" /etc/nginx/servers/ingress.conf
|
||||
|
||||
# Custom transcode location
|
||||
rm -r "$LOCATION"/data/transcodes
|
||||
mkdir -p /transcodes
|
||||
ln -s /transcodes "$LOCATION"/data/transcodes
|
||||
|
||||
# Permissions
|
||||
bashio::log.info "Setting ownership to $PUID:$PGID"
|
||||
chown -R "$PUID":"$PGID" "$LOCATION"
|
||||
|
||||
Reference in New Issue
Block a user