From 9bf527cd31ccd3174ffed2ff5a5bb13cf6f3e624 Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:40:01 +0000 Subject: [PATCH] Update fpm-readiness.sh --- bin/fpm-readiness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fpm-readiness.sh b/bin/fpm-readiness.sh index eb9175f91..4d260d2b5 100755 --- a/bin/fpm-readiness.sh +++ b/bin/fpm-readiness.sh @@ -28,7 +28,7 @@ if [ $(echo "$PING_RESPONSE" | tail -1) != 'pong' ]; then exit 1; fi; # 2️⃣ Request the fpm status via fast-cgi. -FPM_STATUS=$(env -i SCRIPT_NAME=/status SCRIPT_FILENAME=/status REQUEST_METHOD=GET cgi-fcgi -bind -connect /sock/fpm.sock); +FPM_STATUS=$(env -i SCRIPT_NAME=/status SCRIPT_FILENAME=/status REQUEST_METHOD=GET cgi-fcgi -bind -connect /sock/fpm.sock &); # Store the process ID of the status request. STATUS_PID=$!;