浏览代码

更新 'update.sh'

增加测试
linj 5 年之前
父节点
当前提交
41378f5ad4
共有 1 个文件被更改,包括 2 次插入0 次删除
  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