Merge pull request #258 from linuxserver/sessions

This commit is contained in:
Adam 2025-01-15 13:57:02 +00:00 committed by GitHub
commit 44544d05ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,9 @@ mkdir -p \
/config/backups \
/config/log/bookstack
rm -rf /config/www/framework/{cache,sessions,views}/*
if [[ ! -f /tmp/dbwait.lock ]];then
rm -rf /config/www/framework/{cache,sessions,views}/*
fi
# check for .env and copy default if needed
if [[ ! -f "/config/www/.env" ]] || [[ ! -s "/config/www/.env" ]]; then