Fix run and stop sh for vnflcm 06/87306/1
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 9 May 2019 02:25:26 +0000 (10:25 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Thu, 9 May 2019 02:25:26 +0000 (10:25 +0800)
Change-Id: I19f20f2a36db1716a692f2873c01f5533a635799
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/run.sh
lcm/stop.sh

index d7014a2..d417889 100755 (executable)
@@ -26,8 +26,3 @@ else
     nohup uwsgi --http :8801 -t 120 --module lcm.wsgi --master --processes 4 &
 fi
 
-while [ ! -f $logDir/runtime_lcm.log ]; do
-    sleep 1
-done
-
-tail -F  $logDir/runtime_lcm.log
index 099f555..ecea10e 100755 (executable)
@@ -13,5 +13,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $2}' | xargs kill -9
+# ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $1}' | xargs kill -9
 ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9
\ No newline at end of file