summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorOlivia.Zhan <zhan.jie1@zte.com.cn>2019-07-19 14:37:40 +0800
committerOlivia.Zhan <zhan.jie1@zte.com.cn>2019-07-19 15:30:30 +0800
commite77729b4ce9f0f60b010d7b0eadea07d90d1cf4c (patch)
tree3590d36fd020d14f985f532ef919ab9d45caefb2 /run.sh
parent7701ebe1b67fd0196168172bf4106a31931728ee (diff)
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 <zhan.jie1@zte.com.cn> Change-Id: Ia96663a79fe9be3430e7fbbd59e68b1a158d2757
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh12
1 files 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