From e77729b4ce9f0f60b010d7b0eadea07d90d1cf4c Mon Sep 17 00:00:00 2001 From: "Olivia.Zhan" Date: Fri, 19 Jul 2019 14:37:40 +0800 Subject: [PATCH] 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 --- run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.16.6