fix: update LocalAGI service management in update_script function

This commit is contained in:
John Doe
2026-03-05 15:40:56 -05:00
parent d07d8f1054
commit 7fe554e2be

View File

@@ -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