mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 12:18:30 +08:00
feat:
This commit is contained in:
parent
970dcf8c6d
commit
ceb0cb8360
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user