summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/run.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-07-03 15:17:30 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-07-03 15:48:46 +0800
commit8470eb9f5845d55a3bec9351b1982f61a2fdd319 (patch)
tree569e39d02ac87900867f49e28aafa0cff5cc52f3 /gvnfmadapter/run.sh
parent21c2a798f6adca51eb2881e1a84ca1d10967d4e8 (diff)
Update python2 to python3
Change-Id: Icb5a35dd320ccbf80c66089977550755810c859f Issue-ID: VFC-1429 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'gvnfmadapter/run.sh')
-rwxr-xr-xgvnfmadapter/run.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/gvnfmadapter/run.sh b/gvnfmadapter/run.sh
index cb87753..69063fd 100755
--- a/gvnfmadapter/run.sh
+++ b/gvnfmadapter/run.sh
@@ -18,11 +18,10 @@ if [ ! -x $logDir ]; then
mkdir -p $logDir
fi
-# 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
+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