summaryrefslogtreecommitdiffstats
path: root/windriver/run.sh
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2019-04-12 07:33:53 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2019-04-12 07:33:53 +0000
commit0dd8bf5a0fa7d43fd3860927b7d2a7b68a6730ae (patch)
tree31e10f86e78c9146ca92644cb4a69144491c4332 /windriver/run.sh
parent8d49463db893bdfcd457163865cd801b47fab178 (diff)
Rebase image to alpine
Change-Id: I349e54dbfdb25e543312554c82c9339a39cd8817 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/run.sh')
-rw-r--r--windriver/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/run.sh b/windriver/run.sh
index 650c2c1b..c65ecdf8 100644
--- a/windriver/run.sh
+++ b/windriver/run.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,7 +18,7 @@ export PYTHONPATH=lib/share
#nohup python manage.py runserver 0.0.0.0:9005 2>&1 &
-if [ ${SSL_ENABLED} = "true" ]; then
+if [ "${SSL_ENABLED}" = "true" ]; then
nohup uwsgi --https :9005,titanium_cloud/pub/ssl/cert/cert.crt,titanium_cloud/pub/ssl/cert/cert.key,HIGH --module titanium_cloud.wsgi --master --enable-threads --processes 4 &
else