Ver Fonte

fix updata.sh

linj-disanbo há 4 anos atrás
pai
commit
33eb19203c
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 
 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 failed!"