This commit is contained in:
lsxredrain 2021-09-09 15:06:31 +08:00
parent 970dcf8c6d
commit ceb0cb8360

View File

@ -890,10 +890,10 @@ set -e
echo -e "`date +%F_%T`: ${GREEN}dgiot $verType deploy start${NC}" echo -e "`date +%F_%T`: ${GREEN}dgiot $verType deploy start${NC}"
if [ "$verType" == "single" ]; then if [ "$verType" == "single" ]; then
# Install server and client # Install server and client
# if [ -x ${install_dir}/dgiot ]; then if [ -x ${install_dir}/dgiot ]; then
# update_flag=1 update_flag=1
# update_dgiot update_dgiot
# else else
pre_install pre_install
clean_services clean_services
deploy_postgres deploy_postgres
@ -906,7 +906,7 @@ if [ "$verType" == "single" ]; then
install_prometheus install_prometheus
install_grafana install_grafana
install_nginx install_nginx
# fi fi
elif [ "$verType" == "cluster" ]; then elif [ "$verType" == "cluster" ]; then
# todo # todo
if [ -x ${install_dir}/dgiot ]; then if [ -x ${install_dir}/dgiot ]; then