|
@@ -22,4 +22,4 @@ started=`ps aux | grep bityuan -w | grep -v grep | wc -l`
|
|
sleep 15
|
|
sleep 15
|
|
started=`ps aux | grep bityuan -w | grep -v grep | wc -l`
|
|
started=`ps aux | grep bityuan -w | grep -v grep | wc -l`
|
|
[ $started = 1 ] && echo "update bityuan success!"
|
|
[ $started = 1 ] && echo "update bityuan success!"
|
|
-
|
|
|
|
|
|
+[ $started != 1 ] && echo "update bityuan failed!"
|