X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=blobdiff_plain;f=multivimbroker%2Fstop.sh;h=09c3954da28c19fa91477d9539c42af21219863e;hp=2e02c73592c5ced09b5607fbfa0e7c4cb5219b01;hb=HEAD;hpb=e4c338dcc12faaf6bf029c287a6d5fc896b312f2 diff --git a/multivimbroker/stop.sh b/multivimbroker/stop.sh index 2e02c73..09c3954 100755 --- a/multivimbroker/stop.sh +++ b/multivimbroker/stop.sh @@ -1,5 +1,6 @@ -#!/bin/bash +#!/bin/sh # Copyright (c) 2017 Wind River Systems, Inc. +# Copyright (c) 2017-2018 VMware, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -10,4 +11,5 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -ps auxww | grep 'manage.py runserver 0.0.0.0:9001' | awk '{print $2}' | xargs kill -9 +# ps auxww | grep 'manage.py runserver 0.0.0.0:9001' | awk '{print $2}' | xargs kill -9 +ps auxww |grep 'uwsgi --http :9001 --module multivimbroker.wsgi --master' |awk '{print $2}' |xargs kill -9