From fa8147e1bb3c7f08643263b09a34434799018065 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 7 Jan 2026 16:29:57 +0000 Subject: [PATCH] also check for boundary pid --- .../modules/agentapi/scripts/agentapi-wait-for-start.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/registry/coder/modules/agentapi/scripts/agentapi-wait-for-start.sh b/registry/coder/modules/agentapi/scripts/agentapi-wait-for-start.sh index 31a8a4c3..72e9a1dc 100644 --- a/registry/coder/modules/agentapi/scripts/agentapi-wait-for-start.sh +++ b/registry/coder/modules/agentapi/scripts/agentapi-wait-for-start.sh @@ -24,6 +24,12 @@ while true; do else echo "$(date): agentapi pid: $agentapi_pid" fi + boundary_pid=$(pidof boundary) + if [ -z "$boundary_pid" ]; then + echo "$(date): boundary process not found" + else + echo "$(date): boundary pid: $boundary_pid" + fi sleep 1 continue fi