1
0
Преглед на файлове

更新 '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