aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-04 17:26:19 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-04 17:28:27 +0800
commit4f0c84fa2021efffa396c4e538417df156921620 (patch)
treeaa9e3d976875ddcdd8f48bf910cf5b6783c1c378 /run.sh
parent21cc2c63ba04dc1a00233e7ed6ae47e1a974c795 (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-xrun.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 2eea401f..79335c77 100755
--- a/run.sh
+++ b/run.sh
@@ -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