fix: stop old services before rebuild to prevent TUI noise flooding serial

This commit is contained in:
Adam Weidman
2026-03-04 10:06:45 -05:00
parent ff8384ab29
commit 6f1c6ee4b8
+3
View File
@@ -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 -