From 7fe554e2beb23f07080f5c14a50593c5c7eea5b8 Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 5 Mar 2026 15:40:56 -0500 Subject: [PATCH] fix: update LocalAGI service management in update_script function --- ct/localagi.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ct/localagi.sh b/ct/localagi.sh index 5fd514a5d..50e5ff132 100644 --- a/ct/localagi.sh +++ b/ct/localagi.sh @@ -52,8 +52,9 @@ function update_script() { $STD go build -o /usr/local/bin/localagi || { msg_ok "Updated LocalAGI successfully" msg_info "Starting LocalAGI service" - systemctl enable -q --now localagi - mesg_ok "Started LocalAGI service" + systemctl daemon-reload + systemctl start localagi + msg_ok "Started LocalAGI service" exit } fi