Update ct/sonarqube.sh
This commit is contained in:
parent
9de0b87e1a
commit
c16c9702cd
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user