From ae6cd7daded55db305f7af9ec5a270df886297d3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 13 Sep 2022 21:55:24 +0200 Subject: [PATCH] Update 99-run.sh --- seafile/rootfs/etc/cont-init.d/99-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seafile/rootfs/etc/cont-init.d/99-run.sh b/seafile/rootfs/etc/cont-init.d/99-run.sh index fbc091a22..b686ac262 100644 --- a/seafile/rootfs/etc/cont-init.d/99-run.sh +++ b/seafile/rootfs/etc/cont-init.d/99-run.sh @@ -43,7 +43,7 @@ echo "Check $DATA_LOCATION folder exists" mkdir -p "$DATA_LOCATION" mkdir -p /shared/media -chmod -R 777 "$DATA_LOCATION" +chmod -R 777 "$DATA_LOCATION"/media chmod -R 777 "/shared" echo "Setting permissions" @@ -53,7 +53,7 @@ if bashio::config.has_value 'PUID'; then fi || true echo "Creating symlink" -#ln -sf "$DATA_LOCATION" /shared +ln -sf "$DATA_LOCATION"/media /shared/media #export SEAFILE_CONF_DIR="$DATA_LOCATION/conf" && sed -i "1a export SEAFILE_CONF_DIR=$DATA_LOCATION/conf" /home/seafile/*.sh #export SEAFILE_LOGS_DIR="$DATA_LOCATION/logs" && sed -i "1a export SEAFILE_LOGS_DIR=$DATA_LOCATION/logs" /home/seafile/*.sh