mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-08 01:08:12 +00:00
fix: update LocalAGI service management in update_script function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user