fix infinite loop caused by mariadb and fpm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user