diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-12-09 16:24:44 +0800 |
---|---|---|
committer | dengyh <dengyuanhong@chinamobile.com> | 2020-12-09 16:25:25 +0800 |
commit | 5ccea839d266f7af720490fb93205fd359ca06c6 (patch) | |
tree | c5b694549d5f6dd08194f81afcd810c0f2bf6efa /gvnfmadapter/run.sh | |
parent | 6021734c0b0ce6d37e624241ea9eb48986d1d0fe (diff) |
Modify the way of startup for GVNFM driver
Change-Id: I228b0c73a649c23abd5c1ba361cebded4304bd54
Issue-ID: VFC-1771
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'gvnfmadapter/run.sh')
-rwxr-xr-x | gvnfmadapter/run.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gvnfmadapter/run.sh b/gvnfmadapter/run.sh index 9063114..4f7a55f 100755 --- a/gvnfmadapter/run.sh +++ b/gvnfmadapter/run.sh @@ -18,10 +18,10 @@ if [ ! -x $logDir ]; then mkdir -p $logDir fi -# nohup python manage.py runserver 0.0.0.0:8484 > /dev/null & +nohup python manage.py runserver 0.0.0.0:8484 > /dev/null & -if [ "${SSL_ENABLED}" = "true" ]; then - nohup uwsgi --https :8484,driver/pub/ssl/cert/foobar.crt,driver/pub/ssl/cert/foobar.key, -t 120 --module driver.wsgi --master --processes 4 & -else - nohup uwsgi --http :8484 -t 120 --module driver.wsgi --master --processes 4 & -fi +#if [ "${SSL_ENABLED}" = "true" ]; then +# nohup uwsgi --https :8484,driver/pub/ssl/cert/foobar.crt,driver/pub/ssl/cert/foobar.key, -t 120 --module driver.wsgi --master --processes 4 & +#else +# nohup uwsgi --http :8484 -t 120 --module driver.wsgi --master --processes 4 & +#fi |