Browse Source

update sh

lijian 2 years ago
parent
commit
54f464250d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      run_production.sh

+ 1 - 1
run_production.sh

@@ -14,7 +14,7 @@ BIN_NAME=(httpaccess registry apiprovider devicemanager controller mqttaccess kn
 
 for name in $BIN_NAME
 do
-  pid = `ps-ef| grep "$name" |grep -v "grep" | awk '{print $2}'`
+  pid = `ps -ef| grep "$name" |grep -v "grep" | awk '{print $2}'`
   if [ -z "$pid"];
   then
     echo "[$name not found]"