From d6dd15bbcf04877127f867176fa501f7662f7159 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Thu, 9 May 2019 10:25:26 +0800 Subject: [PATCH] Fix run and stop sh for vnflcm Change-Id: I19f20f2a36db1716a692f2873c01f5533a635799 Issue-ID: VFC-1306 Signed-off-by: fujinhua --- lcm/run.sh | 5 ----- lcm/stop.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lcm/run.sh b/lcm/run.sh index d7014a23..d417889e 100755 --- a/lcm/run.sh +++ b/lcm/run.sh @@ -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 diff --git a/lcm/stop.sh b/lcm/stop.sh index 099f555f..ecea10ee 100755 --- a/lcm/stop.sh +++ b/lcm/stop.sh @@ -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 -- 2.16.6