Update ct/sonarqube.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 00:37:01 +02:00 committed by GitHub
parent 9de0b87e1a
commit c16c9702cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,9 @@ function update_script() {
fi
if check_for_gh_release "sonarqube" "SonarSource/sonarqube"; then
msg_info "Stopping service"
systemctl stop sonarqube
msg_ok "Service stopped"
BACKUP_DIR="/opt/sonarqube-backup"
mv /opt/sonarqube ${BACKUP_DIR}