linj-disanbo 4 éve
szülő
commit
33eb19203c
1 módosított fájl, 1 hozzáadás és 1 törlés
  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!"