X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fstop.sh;h=0d03d05671e11d4592549286ca4bb352e9cb878b;hb=dc6d989132a5db3077de6937158386aacd46400c;hp=004fb0bc64eb6690877d0e4e6162efc7dabf2b22;hpb=649ddb83743de05ca5df0626de700ac24635fae7;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/stop.sh b/lcm/stop.sh index 004fb0bc..0d03d056 100755 --- a/lcm/stop.sh +++ b/lcm/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:8801' | awk '{print $1}' | xargs kill -9 -# ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9 \ No newline at end of file +# 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