fix infinite loop caused by mariadb and fpm

This commit is contained in:
2026-06-06 13:27:18 +07:00
parent 85a6e3bd0d
commit 6968a3d528
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -78,9 +78,5 @@ php artisan view:cache
# 6. Storage link
php artisan storage:link 2>/dev/null || true
# 7. Switch to app user and start PHP-FPM
if [ "$(id -u)" = "0" ]; then
exec su-exec app php-fpm
else
exec php-fpm
fi
# 7. Start PHP-FPM
exec php-fpm