summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter
diff options
context:
space:
mode:
Diffstat (limited to 'gvnfmadapter')
-rwxr-xr-xgvnfmadapter/run.sh5
-rwxr-xr-xgvnfmadapter/stop.sh2
2 files changed, 1 insertions, 6 deletions
diff --git a/gvnfmadapter/run.sh b/gvnfmadapter/run.sh
index 6c9abc6..cb87753 100755
--- a/gvnfmadapter/run.sh
+++ b/gvnfmadapter/run.sh
@@ -26,8 +26,3 @@ else
nohup uwsgi --http :8484 -t 120 --module driver.wsgi --master --processes 4 &
fi
-while [ ! -f $logDir/runtime_gvnfmdriver.log ]; do
- sleep 1
-done
-
-tail -F $logDir/runtime_gvnfmdriver.log
diff --git a/gvnfmadapter/stop.sh b/gvnfmadapter/stop.sh
index 463f8ca..709ea14 100755
--- a/gvnfmadapter/stop.sh
+++ b/gvnfmadapter/stop.sh
@@ -13,5 +13,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# ps auxww | grep 'manage.py runserver 0.0.0.0:8484' | awk '{print $2}' | xargs kill -9
+# ps auxww | grep 'manage.py runserver 0.0.0.0:8484' | awk '{print $1}' | xargs kill -9
ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9