fix: add informational messages for starting LocalAGI service in update_script function
This commit is contained in:
@@ -51,7 +51,9 @@ function update_script() {
|
|||||||
cd /opt/localagi
|
cd /opt/localagi
|
||||||
$STD go build -o /usr/local/bin/localagi || {
|
$STD go build -o /usr/local/bin/localagi || {
|
||||||
msg_ok "Updated LocalAGI successfully"
|
msg_ok "Updated LocalAGI successfully"
|
||||||
|
msg_info "Starting LocalAGI service"
|
||||||
systemctl enable -q --now localagi
|
systemctl enable -q --now localagi
|
||||||
|
mesg_ok "Started LocalAGI service"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user