diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:26:19 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-04 17:28:27 +0800 |
commit | 4f0c84fa2021efffa396c4e538417df156921620 (patch) | |
tree | aa9e3d976875ddcdd8f48bf910cf5b6783c1c378 /run.sh | |
parent | 21cc2c63ba04dc1a00233e7ed6ae47e1a974c795 (diff) |
Integrate uwsgi with django
Change-Id: I92029455c1ba38506b41449ff27a14bf93b55b92
Issue-ID: VFC-1336
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,7 +18,8 @@ if [ ! -x $logDir ]; then mkdir -p $logDir fi -nohup python manage.py runserver 0.0.0.0:8403 > /dev/null & +# nohup python manage.py runserver 0.0.0.0:8403 > /dev/null & +nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --master --processes 4 & while [ ! -f $logDir/runtime_nslcm.log ]; do sleep 1 |