mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
Symlink all logs to avoid defer error on new install
This commit is contained in:
parent
acda76ad08
commit
7759d52c25
@ -3,7 +3,7 @@
|
||||
|
||||
# create directory structure
|
||||
mkdir -p \
|
||||
/config/www/{uploads,files,images,themes,backups}
|
||||
/config/www/{uploads,files,images,themes,backups,logs}
|
||||
|
||||
# check for .env and copy default if needed
|
||||
if [[ ! -f "/config/www/.env" ]] || [[ ! -s "/config/www/.env" ]]; then
|
||||
@ -14,11 +14,11 @@ fi
|
||||
symlinks=(
|
||||
/app/www/themes
|
||||
/app/www/storage/backups
|
||||
/app/www/storage/logs
|
||||
/app/www/storage/uploads/files
|
||||
/app/www/storage/uploads/images
|
||||
/app/www/public/uploads
|
||||
/app/www/.env
|
||||
/app/www/storage/logs/laravel.log
|
||||
)
|
||||
|
||||
for i in "${symlinks[@]}"; do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user