Merge pull request #8444 from dataease/pr@v2_installer_remove_unused_code

refactor: 去掉 installer 无用代码
This commit is contained in:
fit2cloudrd 2024-03-11 17:19:05 +08:00 committed by GitHub
commit df4191811c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -255,12 +255,6 @@ if which firewall-cmd >/dev/null 2>&1; then
fi
fi
http_code=$(curl -sILw "%{http_code}\n" http://localhost:${DE_PORT} -o /dev/null)
if [[ $http_code == 200 ]];then
log "停止服务进行升级..."
dectl stop
fi
log "启动服务"
systemctl start dataease 2>&1 | tee -a ${CURRENT_DIR}/install.log