Browse Source

fix updata.sh

linj-disanbo 4 years ago
parent
commit
33eb19203c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -28,6 +28,6 @@ started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`
 [ $started = 1 ]  || supervisorctl restart bty
 [ $started = 1 ]  || supervisorctl restart bty
 
 
 sleep 15
 sleep 15
-started=`ps aux | grep bityuan -w | grep -v grep  | wc -l`
+started=`ps aux | grep bityuan -w | grep bityuan.toml  | grep -v grep  | wc -l`
 [ $started = 1 ] && echo "update bityuan success!"
 [ $started = 1 ] && echo "update bityuan success!"
 [ $started != 1 ] && echo "update bityuan failed!"
 [ $started != 1 ] && echo "update bityuan failed!"