fix panel log folder

resolves #4838

Fixes an issue with the log symlink as well
This commit is contained in:
Michael Parker 2023-08-12 15:51:16 -04:00 committed by Matthew Penner
parent 04d83edd36
commit aa2f797f6f
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@ cd /app
mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \
&& chmod 777 /var/log/panel/logs/ \
&& ln -s /var/log/panel/logs/ /app/storage/logs/
&& ln -s /app/storage/logs/ /var/log/panel/
## check for .env file and generate app keys if missing
if [ -f /app/var/.env ]; then