X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fstop.sh;h=0d03d05671e11d4592549286ca4bb352e9cb878b;hb=dc6d989132a5db3077de6937158386aacd46400c;hp=6f9ff21f18cd0abe59997903746451da8f8eac49;hpb=ba64ce23c5572b0de5e5596a479d9090115009e4;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/stop.sh b/lcm/stop.sh old mode 100644 new mode 100755 index 6f9ff21f..0d03d056 --- a/lcm/stop.sh +++ b/lcm/stop.sh @@ -12,4 +12,12 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -ps auxww | grep 'manage.py runserver 127.0.0.1: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 + +if [ "${SSL_ENABLED}" = "true" ]; then + ps auxww |grep 'uwsgi --https :8801' |awk '{print $1}' |xargs kill -9 +else + ps auxww |grep 'uwsgi --http :8801' |awk '{print $1}' |xargs kill -9 +fi \ No newline at end of file