From 5eefcecf47d93cd655c5ab5118a6ae6673cc3eb5 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 3 Jul 2025 13:57:12 +0300 Subject: [PATCH] Update init.sh Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- debian/scripts/init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/scripts/init.sh b/debian/scripts/init.sh index 914e8ee..998e499 100755 --- a/debian/scripts/init.sh +++ b/debian/scripts/init.sh @@ -46,9 +46,9 @@ if [ "$*" = 'frankenphp php-cli artisan octane:frankenphp' ] || [ "${1#-}" != "$ # Check for required folders and create if needed, relevant for bind mounts # It is not possible to chown, as we are not executing this script as root - [ -d /var/www/html/storage/framework/sessions ] || mkdir -p /var/www/html/storage/framework/sessions - [ -d /var/www/html/storage/framework/views ] || mkdir -p /var/www/html/storage/framework/views - [ -d /var/www/html/storage/framework/cache ] || mkdir -p /var/www/html/storage/framework/cache + [ -d /app/storage/framework/sessions ] || mkdir -p /app/storage/framework/sessions + [ -d /app/storage/framework/views ] || mkdir -p /app/storage/framework/views + [ -d /app/storage/framework/cache ] || mkdir -p /app/storage/framework/cache if [ "$APP_ENV" = "production" ]; then frankenphp php-cli artisan optimize