|
@@ -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!"
|