diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:26:59 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-09 10:26:59 +0800 |
commit | fa6078ef73eb4838ab9dee1fba8e7b1fbf3c9131 (patch) | |
tree | 915b55031406f39180e76cdd2c446d5021015a7e /mgr | |
parent | 2bebb548521082e218ce6872858f7923022593cf (diff) |
Fix run and stop sh for vnfmgr
Change-Id: I55e852d8a3601d0b4a50cd98598a2e97a0550cce
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'mgr')
-rwxr-xr-x | mgr/run.sh | 6 | ||||
-rwxr-xr-x | mgr/stop.sh | 2 |
2 files changed, 1 insertions, 7 deletions
@@ -25,9 +25,3 @@ if [ "${SSL_ENABLED}" = "true" ]; then else nohup uwsgi --http :8803 -t 120 --module mgr.wsgi --master --processes 4 & fi - -while [ ! -f $logDir/runtime_mgr.log ]; do - sleep 1 -done - -tail -F $logDir/runtime_mgr.log diff --git a/mgr/stop.sh b/mgr/stop.sh index 38ca0d6..db65996 100755 --- a/mgr/stop.sh +++ b/mgr/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:8803' | awk '{print $2}' | xargs kill -9 +# ps auxww | grep 'manage.py runserver 0.0.0.0:8803' | awk '{print $1}' | xargs kill -9 ps auxww |grep 'uwsgi --http' |awk '{print $1}' |xargs kill -9 |