Fix: touch log file during start up

fixes laravel.log permissions #137
This commit is contained in:
hackerESQ
2025-09-26 17:54:44 -05:00
parent 910d426ad4
commit 0aaa51e736
+3
View File
@@ -15,6 +15,9 @@ mkdir -p storage/framework/cache \
storage/app \
storage/logs
timestamp=$(date -u "+[%Y-%m-%d %H:%M:%S]")
echo "$timestamp Investbrain starting..." >> storage/logs/laravel.log
echo -e "\n > Storage directory scaffolding is OK... "
# Ensure storage directory is permissioned for www-data