diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-06-23 14:43:00 +0800 |
---|---|---|
committer | Yuanhong Deng <dengyuanhong@chinamobile.com> | 2020-06-28 04:26:39 +0000 |
commit | dc6d989132a5db3077de6937158386aacd46400c (patch) | |
tree | 4f29f0b6d29e71852aff2105f0f016f98de1f635 /lcm/stop.sh | |
parent | 649ddb83743de05ca5df0626de700ac24635fae7 (diff) |
Implementation of HTTPS support for VFC-vnflcm project interface
Change-Id: I8d4442657f3083e8449b94987324a630cf2d05a8
Issue-ID: VFC-1676
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'lcm/stop.sh')
-rwxr-xr-x | lcm/stop.sh | 10 |
1 files changed, 8 insertions, 2 deletions
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 |