Fix bug for vnfres stop sh 92/87092/1
authorfujinhua <fu.jinhua@zte.com.cn>
Tue, 7 May 2019 01:03:05 +0000 (09:03 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Tue, 7 May 2019 01:03:05 +0000 (09:03 +0800)
Change-Id: Ic7a53183965beadd925e9fc7a90d8752a10e82ce
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
res/stop.sh

index 3c2d671..2be7a39 100755 (executable)
@@ -14,4 +14,4 @@
 # limitations under the License.
 
 #ps auxww | grep 'manage.py runserver 0.0.0.0:8802' | awk '{print $2}' | xargs kill -9
-ps auxww |grep 'uwsgi --http :8802 --module res.wsgi --master' |awk '{print $2}' |xargs kill -9
+ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9