Skip to content

Commit

Permalink
Update fpm-readiness.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Nov 19, 2024
1 parent b62f305 commit 9bf527c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fpm-readiness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$!;
Expand Down

0 comments on commit 9bf527c

Please sign in to comment.