From 6d120edaf483d5197d886a1a2c26938c4705d409 Mon Sep 17 00:00:00 2001 From: Adam Weidman Date: Wed, 4 Mar 2026 09:27:51 -0500 Subject: [PATCH] fix: use systemctl restart to pick up newly built code on VM boot --- scripts/gce-startup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gce-startup.sh b/scripts/gce-startup.sh index 6d29190a62..b6421ef871 100644 --- a/scripts/gce-startup.sh +++ b/scripts/gce-startup.sh @@ -160,12 +160,12 @@ StandardError=journal WantedBy=multi-user.target EOF -# Start both services +# Restart both services (restart, not start — pick up newly built code) systemctl daemon-reload systemctl enable chat-bridge forever-agent -systemctl start chat-bridge +systemctl restart chat-bridge sleep 2 -systemctl start forever-agent +systemctl restart forever-agent echo "=== Chat bridge started on port 8081 ===" echo "=== Forever agent started in screen session ==="