Update ct/sonarqube.sh
This commit is contained in:
parent
c16c9702cd
commit
4ce366903f
@ -33,8 +33,10 @@ function update_script() {
|
||||
systemctl stop sonarqube
|
||||
msg_ok "Service stopped"
|
||||
|
||||
msg_info "Creating backup"
|
||||
BACKUP_DIR="/opt/sonarqube-backup"
|
||||
mv /opt/sonarqube ${BACKUP_DIR}
|
||||
msg_ok "Backup created"
|
||||
|
||||
curl -fsSL -o /tmp/sonarqube.zip "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user