diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-07-03 16:16:15 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-07-03 16:16:15 +0800 |
commit | d19480a60b4337698df55f4d9c0fadbd38737811 (patch) | |
tree | ce1f9f24f02255a6a714a9dd24fa8bf00e546e0e /zte/vmanager/run.sh | |
parent | 98315d35b20a4b035570ce86be9342526b6f3866 (diff) |
Update python2 to python3
Change-Id: I1dfd73fe4a934ed1f46d016bdb29df17dfda2a75
Issue-ID: VFC-1429
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager/run.sh')
-rwxr-xr-x | zte/vmanager/run.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/zte/vmanager/run.sh b/zte/vmanager/run.sh index 5cc179f7..56655835 100755 --- a/zte/vmanager/run.sh +++ b/zte/vmanager/run.sh @@ -18,10 +18,10 @@ 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 & -if [ "${SSL_ENABLED}" = "true" ]; then - nohup uwsgi --https :8410,driver/pub/ssl/cert/foobar.crt,driver/pub/ssl/cert/foobar.key, -t 120 --module driver.wsgi --master --processes 4 & -else - nohup uwsgi --http :8410 -t 120 --module driver.wsgi --master --processes 4 & -fi +# if [ "${SSL_ENABLED}" = "true" ]; then +# nohup uwsgi --https :8410,driver/pub/ssl/cert/foobar.crt,driver/pub/ssl/cert/foobar.key, -t 120 --module driver.wsgi --master --processes 4 & +# else +# nohup uwsgi --http :8410 -t 120 --module driver.wsgi --master --processes 4 & +# fi |