X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=stop.sh;h=f118622d87edc6fbf756690966e70596b1790308;hb=7fd2c885c7a9425bb6d9c45f03d2adc8f0bff9ae;hp=74a5fd660cb1516a33d0a3faded5d1e8cd2ac67b;hpb=d91657fce78f76ddb7467651c6e9647c6fcf9e67;p=modeling%2Fetsicatalog.git diff --git a/stop.sh b/stop.sh index 74a5fd6..f118622 100755 --- a/stop.sh +++ b/stop.sh @@ -13,5 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ps auxww | grep "manage.py runserver 0.0.0.0:8806" | awk '{print $2}' | xargs kill -9 -ps auxww |grep 'uwsgi --http :8806 --module genericpaser.wsgi --master' |awk '{print $2}' |xargs kill -9 +# 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 + +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