diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-22 09:43:03 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-22 09:43:03 +0800 |
commit | d534b34f13785ea712ec35434ac68e3abcd5e705 (patch) | |
tree | 8822fe6790b7d0dc7092aa5321161c2872b76312 /zte/vmanager/run.sh | |
parent | f424e7777ea76929ed5d8d28ac67d872bf9a08e0 (diff) |
Add uwsgi support for ztevnfmdriver
Change-Id: Ia9d48e73ac4b4270684e3134be944527d286173c
Issue-ID: VFC-1307
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager/run.sh')
-rwxr-xr-x | zte/vmanager/run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zte/vmanager/run.sh b/zte/vmanager/run.sh index 5c6e8339..f0f0d485 100755 --- a/zte/vmanager/run.sh +++ b/zte/vmanager/run.sh @@ -18,7 +18,9 @@ if [ ! -x $logDir ]; then mkdir -p $logDir fi -nohup python manage.py runserver 0.0.0.0:8410 > /dev/null & +# nohup python manage.py runserver 0.0.0.0:8410 > /dev/null & + +nohup uwsgi --http :8410 -t 120 --module driver.wsgi --master --processes 4 & while [ ! -f $logDir/runtime_ztevnfmdriver.log ]; do sleep 1 |