Browse Source

更新 'update.sh'

增加测试
linj 5 years ago
parent
commit
41378f5ad4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      update.sh

+ 2 - 0
update.sh

@@ -14,6 +14,8 @@ cd chain33
 [ -e bityuan.lite.toml ] && install bityuan.lite.toml /root/chain33/bityuan.lite.toml
 [ -e chain33.conf ] && install chain33.conf /etc/supervisor/conf.d/chain33.conf && supervisorctl reload
 
+sleep 15
+set -x
 started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`
 [ $started != 1 ]  || supervisorctl restart chain33