Update ct/sonarqube.sh
This commit is contained in:
@@ -29,8 +29,9 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "sonarqube" "SonarSource/sonarqube"; then
|
if check_for_gh_release "sonarqube" "SonarSource/sonarqube"; then
|
||||||
|
msg_info "Stopping service"
|
||||||
systemctl stop sonarqube
|
systemctl stop sonarqube
|
||||||
|
msg_ok "Service stopped"
|
||||||
|
|
||||||
BACKUP_DIR="/opt/sonarqube-backup"
|
BACKUP_DIR="/opt/sonarqube-backup"
|
||||||
mv /opt/sonarqube ${BACKUP_DIR}
|
mv /opt/sonarqube ${BACKUP_DIR}
|
||||||
|
|||||||
Reference in New Issue
Block a user