From: Olivia.Zhan Date: Fri, 19 Jul 2019 06:37:40 +0000 (+0800) Subject: Fix uwsgi issue X-Git-Tag: 1.0.5~61 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=modeling%2Fetsicatalog.git;a=commitdiff_plain;h=e77729b4ce9f0f60b010d7b0eadea07d90d1cf4c Fix uwsgi issue nohup: can't execute 'uwsgi': No such file or directory ref VFC-1408 change the way to start django Issue-ID: VFC-1429 Signed-off-by: Olivia.Zhan Change-Id: Ia96663a79fe9be3430e7fbbd59e68b1a158d2757 --- diff --git a/run.sh b/run.sh index caab259..a0bbe64 100755 --- a/run.sh +++ b/run.sh @@ -18,12 +18,12 @@ if [ ! -x $logDir ]; then mkdir -p $logDir fi -# nohup python manage.py runserver 0.0.0.0:8806 > /dev/null & +nohup python manage.py runserver 0.0.0.0:8806 > /dev/null & # nohup uwsgi --http :8806 -t 120 --module genericparser.wsgi --master --processes 4 & -if [ "${SSL_ENABLED}" = "true" ]; then - nohup uwsgi --https :8806,genericparser/pub/ssl/cert/foobar.crt,genericparser/pub/ssl/cert/foobar.key, -t 120 --module genericparser.wsgi --master --processes 4 & -else - nohup uwsgi --http :8806 -t 120 --module genericparser.wsgi --master --processes 4 & -fi +# if [ "${SSL_ENABLED}" = "true" ]; then +# nohup uwsgi --https :8806,genericparser/pub/ssl/cert/foobar.crt,genericparser/pub/ssl/cert/foobar.key, -t 120 --module genericparser.wsgi --master --processes 4 & +# else +# nohup uwsgi --http :8806 -t 120 --module genericparser.wsgi --master --processes 4 & +# fi