From 0dd8bf5a0fa7d43fd3860927b7d2a7b68a6730ae Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Fri, 12 Apr 2019 07:33:53 +0000 Subject: Rebase image to alpine Change-Id: I349e54dbfdb25e543312554c82c9339a39cd8817 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang --- windriver/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'windriver/run.sh') 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 -- cgit 1.2.3-korg