From 6f1c6ee4b8d3d1de9d6e2455b935ad82812c4a98 Mon Sep 17 00:00:00 2001 From: Adam Weidman Date: Wed, 4 Mar 2026 10:06:45 -0500 Subject: [PATCH] fix: stop old services before rebuild to prevent TUI noise flooding serial --- scripts/gce-startup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gce-startup.sh b/scripts/gce-startup.sh index 11a33f2886..031309057e 100644 --- a/scripts/gce-startup.sh +++ b/scripts/gce-startup.sh @@ -24,6 +24,9 @@ if [ -z "$GEMINI_API_KEY" ]; then fi echo "API key loaded (${#GEMINI_API_KEY} chars)" +# Stop old services before rebuilding (prevents TUI noise flooding serial) +systemctl stop forever-agent chat-bridge 2>/dev/null || true + # Install Node.js + screen (first boot only) if ! command -v node &>/dev/null; then curl -fsSL https://deb.nodesource.com/setup_20.x | bash -