Browse Source

Fix consistency checking

Suren A. Chilingaryan 4 years ago
parent
commit
351c5890ad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      startup.sh

+ 2 - 2
startup.sh

@@ -44,9 +44,9 @@
 sleep 300
 
 num=$(ps xa | grep core.py | grep -v grep | wc -l)
-while [ $num -eq 5 ]; do
+while [ $num -eq 4 ]; do
     echo "All 4 instances are running..."
     sleep 3600
 
-    num=$(ps xa | grep python | grep -v grep | wc -l)
+    num=$(ps xa | grep core.py | grep -v grep | wc -l)
 done