From c2f5f33807119600fa718b9315c5d03e610073f3 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 4 Dec 2024 09:59:42 +0100 Subject: [PATCH] Added changes --- ct/zammad.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/zammad.sh b/ct/zammad.sh index b292f330..093bf60c 100644 --- a/ct/zammad.sh +++ b/ct/zammad.sh @@ -56,13 +56,15 @@ header_info check_container_storage check_container_resources if [[ ! -d /opt/zamad ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -msg_info "Updating ${APP} LXC" +msg_info "Stopping Service" systemctl stop zammad &>/dev/null +msg_info "Updating ${APP}" apt-get update &>/dev/null apt-mark hold zammad &>/dev/null apt-get -y upgrade &>/dev/null apt-mark unhold zammad &>/dev/null apt-get -y upgrade &>/dev/null +msg_info "Starting Service" systemctl start zammad &>/dev/null msg_ok "Updated ${APP} LXC" exit