From: fujinhua Date: Fri, 19 Apr 2019 08:35:10 +0000 (+0800) Subject: Fix sh grammar error for vnfres X-Git-Tag: 1.3.0~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=dfc88ea4ad026f4d19750ee71142b33a174ed1cb;p=vfc%2Fgvnfm%2Fvnfres.git Fix sh grammar error for vnfres Change-Id: I3e4a2e6797eb31f1ae1ba433699629d1609b8738 Issue-ID: VFC-1307 Signed-off-by: fujinhua --- diff --git a/res/run.sh b/res/run.sh index 37fe675..63f0850 100755 --- a/res/run.sh +++ b/res/run.sh @@ -20,7 +20,7 @@ fi # nohup python manage.py runserver 0.0.0.0:8802 > /dev/null & -if [ ${SSL_ENABLED} = "true" ]; then +if [ "${SSL_ENABLED}" = "true" ]; then nohup uwsgi --https :8802,res/pub/ssl/cert/foobar.crt,res/pub/ssl/cert/foobar.key, -t 120 --module res.wsgi --master --processes 4 & else nohup uwsgi --http :8802 -t 120 --module res.wsgi --master --processes 4 &