diff options
author | Olivia.Zhan <zhan.jie1@zte.com.cn> | 2019-07-19 14:37:40 +0800 |
---|---|---|
committer | Olivia.Zhan <zhan.jie1@zte.com.cn> | 2019-07-19 15:30:30 +0800 |
commit | e77729b4ce9f0f60b010d7b0eadea07d90d1cf4c (patch) | |
tree | 3590d36fd020d14f985f532ef919ab9d45caefb2 /run.sh | |
parent | 7701ebe1b67fd0196168172bf4106a31931728ee (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-x | run.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |