summaryrefslogtreecommitdiffstats
path: root/res/run.sh
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-19 16:35:10 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-19 16:35:10 +0800
commitdfc88ea4ad026f4d19750ee71142b33a174ed1cb (patch)
tree5f39ec5dcbbbec78512d899c8fb79b4c3c2804bd /res/run.sh
parenteea40da241e118b72b6fe37be1e56ea3b576173a (diff)
Fix sh grammar error for vnfres
Change-Id: I3e4a2e6797eb31f1ae1ba433699629d1609b8738 Issue-ID: VFC-1307 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'res/run.sh')
-rwxr-xr-xres/run.sh2
1 files changed, 1 insertions, 1 deletions
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 &