mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-30 03:07:40 +08:00
feat:
This commit is contained in:
parent
47cb2c288c
commit
57b4d3b1b4
@ -890,10 +890,10 @@ set -e
|
||||
echo -e "`date +%F_%T`: ${GREEN}dgiot $verType deploy start${NC}"
|
||||
if [ "$verType" == "single" ]; then
|
||||
# Install server and client
|
||||
if [ -x ${install_dir}/dgiot ]; then
|
||||
update_flag=1
|
||||
update_dgiot
|
||||
else
|
||||
# if [ -x ${install_dir}/dgiot ]; then
|
||||
# update_flag=1
|
||||
# update_dgiot
|
||||
# else
|
||||
pre_install
|
||||
clean_services
|
||||
deploy_postgres
|
||||
@ -906,7 +906,7 @@ if [ "$verType" == "single" ]; then
|
||||
install_prometheus
|
||||
install_grafana
|
||||
install_nginx
|
||||
fi
|
||||
# fi
|
||||
elif [ "$verType" == "cluster" ]; then
|
||||
# todo
|
||||
if [ -x ${install_dir}/dgiot ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user