X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=stop.sh;h=f118622d87edc6fbf756690966e70596b1790308;hb=7fd2c885c7a9425bb6d9c45f03d2adc8f0bff9ae;hp=f939ce5552e533440b8cb0ed5c51e31b8738a475;hpb=e7310fb508784f72f54fbad5762cec67b134241b;p=modeling%2Fetsicatalog.git diff --git a/stop.sh b/stop.sh index f939ce5..f118622 100755 --- a/stop.sh +++ b/stop.sh @@ -14,4 +14,10 @@ # limitations under the License. # ps auxww | grep "manage.py runserver 0.0.0.0:8806" | awk '{print $1}' | xargs kill -9 -ps auxww |grep 'uwsgi --http' |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 :8806' |awk '{print $1}' |xargs kill -9 +else + ps auxww |grep 'uwsgi --http :8806' |awk '{print $1}' |xargs kill -9 +fi