diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:29:03 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:29:03 +0800 |
commit | 98b2ab586821aed1dbf5b90d822fc98845c541f2 (patch) | |
tree | 7c992718a7d20c59ebdbf6998fdda705c61b337e | |
parent | 0d476080107ec11f1f274d027dcd0b90a208b455 (diff) |
Fix run and stop sh for gvnfmdriver
Change-Id: Id846d2a3f70ae0be2f9b071347bd70eb1e84a46a
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-x | gvnfmadapter/run.sh | 5 | ||||
-rwxr-xr-x | gvnfmadapter/stop.sh | 2 |
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 |