From fa96fe0e15c53e670790b2b0be298886a33fb2c3 Mon Sep 17 00:00:00 2001 From: Stefan Lazic Date: Sat, 5 Sep 2026 09:31:41 +0100 Subject: [PATCH] Revert "Update entrypoint.sh" This reverts commit 5972d37425079b9b623f5f54b80840bd9d9d3088. --- docker/entrypoint.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ab6300d..78141b7 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -17,13 +17,6 @@ chmod -R ug+rwX storage bootstrap/cache # This is safe to run on every start and does not perform migrations. php artisan storage:link --force >/dev/null 2>&1 || true -# PHP-FPM must start as root so it can initialise correctly. -# PHP-FPM will drop privileges for its worker processes itself. -if [ "$1" = "php-fpm" ]; then - exec "$@" -fi - -# Artisan workers and other application commands should run as www-data. if [ "$(id -u)" = "0" ]; then exec gosu www-data "$@" fi