Update 99-run.sh

This commit is contained in:
Alexandre
2022-09-13 21:55:24 +02:00
committed by GitHub
parent e04ce0a630
commit ae6cd7dade

View File

@@ -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