Skip to content

Commit 0692c67

Browse files
committed
ops: clarify bridge pid tracks supervisor loop
1 parent b1c8ced commit 0692c67

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ if [ -n "$BRIDGE_SCRIPT" ]; then
110110
sleep 5
111111
done
112112
) &
113+
# Intentionally track the supervisor subshell PID (not per-restart node child PID)
114+
# so a single kill stops the entire bridge restart loop.
113115
echo $! > "$BRIDGE_PID_FILE"
114116
chmod 600 "$BRIDGE_PID_FILE"
115117
fi

0 commit comments

Comments
 (0)