summaryrefslogtreecommitdiffstats
path: root/mgr/stop.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-02-08 10:50:05 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-02-08 10:53:49 +0800
commitbaee06d37420eaa391e24c027647104ddb7ae031 (patch)
treefca8a607b67a2b867944e91c290ca940c4b96377 /mgr/stop.sh
parent60a0f1a3d830fd8f5c738be81935c24613283478 (diff)
Add code framework of gvnfm-vnfmgr
Change-Id: I84d954b61c26f38553b0fa5ce558c098ca5f7204 Issue-Id: GVNFM-23 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'mgr/stop.sh')
-rw-r--r--mgr/stop.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/mgr/stop.sh b/mgr/stop.sh
new file mode 100644
index 0000000..e2421d2
--- /dev/null
+++ b/mgr/stop.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# Copyright 2017 ZTE Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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:8803' | awk '{print $2}' | xargs kill -9