This commit is contained in:
Slaviša Arežina
2025-12-09 15:58:13 +01:00
committed by GitHub
parent 3be34bdac8
commit cf7d32548f
3 changed files with 12 additions and 10 deletions

View File

@ -27,21 +27,22 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Stopping Service"
systemctl stop zammad
msg_ok "Stopped Service"
msg_info "Updating ${APP}"
msg_info "Updating Zammad"
$STD apt update
$STD apt-mark hold zammad
$STD apt -y upgrade
$STD apt upgrade -y
$STD apt-mark unhold zammad
$STD apt -y upgrade
msg_ok "Updated ${APP}"
$STD apt upgrade -y
msg_ok "Updated Zammad"
msg_info "Starting Service"
systemctl start zammad
msg_ok "Updated ${APP} LXC"
msg_ok "Started Service"
msg_ok "Updated successfully!"
exit
}