소스 검색

更新 'update.sh'

修复判断
linj 5 년 전
부모
커밋
07a547c720
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -17,7 +17,7 @@ cd chain33
 sleep 15
 set -x
 started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`
-[ $started != 1 ]  || supervisorctl restart chain33
+[ $started == 1 ]  || supervisorctl restart chain33
 
 sleep 15
 started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`