Browse Source

fix bug #1996 (#1998)

pull/2/head
DK.Pino 5 years ago committed by GitHub
parent
commit
5ecd3b30b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      install.sh

25
install.sh

@ -422,17 +422,8 @@ fi
done
# 3,stop server
echo "3,stop server"
sh ${workDir}/script/stop-all.sh
# 4,delete zk node
echo "4,delete zk node"
sh ${workDir}/script/remove-zk-node.sh $zkRoot
# 5,scp resources
echo "5,scp resources"
# 3,scp resources
echo "3,scp resources"
sh ${workDir}/script/scp-hosts.sh
if [ $? -eq 0 ]
then
@ -442,6 +433,18 @@ else
exit -1
fi
# 4,stop server
echo "4,stop server"
sh ${workDir}/script/stop-all.sh
# 5,delete zk node
echo "5,delete zk node"
sh ${workDir}/script/remove-zk-node.sh $zkRoot
# 6,startup
echo "6,startup"
sh ${workDir}/script/start-all.sh
Loading…
Cancel
Save