add paramters in run.sh 10/87110/4
authoryangyan <yangyanyj@chinamobile.com>
Tue, 7 May 2019 06:50:54 +0000 (14:50 +0800)
committerYan Yang <yangyanyj@chinamobile.com>
Wed, 8 May 2019 01:45:43 +0000 (01:45 +0000)
Change-Id: I8ab9c03550b7a6da1b9830c67d55f5daaab15e9c
Issue-ID: VFC-1376
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
run.sh

diff --git a/run.sh b/run.sh
index dccfd2e..a200ffc 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -22,9 +22,9 @@ fi
 #nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --master --processes 4 &
 
 if [ "${SSL_ENABLED}" = "true" ]; then
-    nohup uwsgi --https :8403,lcm/pub/ssl/cert/foobar.crt,lcm/pub/ssl/cert/foobar.key, HIGH -t 120 --module lcm.wsgi --master --processes 4 &
+    nohup uwsgi --https :8403,lcm/pub/ssl/cert/foobar.crt,lcm/pub/ssl/cert/foobar.key, -t 120  --module lcm.wsgi --uid onap --gid onap --master --processes 4 &
 else
-    nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --master --processes 4 &
+    nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --uid onap --gid onap --master --processes 4 &
 fi