diff --git a/ct/bookstack.sh b/ct/bookstack.sh index 140c951a..34d3058b 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -37,6 +37,7 @@ function update_script() { msg_info "Stopping Apache2" systemctl stop apache2 msg_ok "Services Stopped" + msg_info "Updating ${APP} to v${RELEASE}" mv /opt/bookstack /opt/bookstack-backup wget -q --directory-prefix=/opt "https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE}.zip" @@ -55,10 +56,12 @@ function update_script() { chmod -R 775 /opt/bookstack/storage /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads chmod -R 640 /opt/bookstack/.env echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Updated ${APP}" - msg_info "Starting Apache2 " + msg_ok "Updated ${APP} to v${RELEASE}" + + msg_info "Starting Apache2" systemctl start apache2 msg_ok "Started Apache2" + msg_info "Cleaning Up" rm -rf /opt/bookstack-backup rm -rf /opt/v${RELEASE}.zip