summaryrefslogtreecommitdiffstats
path: root/windriver/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/run.sh')
-rw-r--r--windriver/run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/windriver/run.sh b/windriver/run.sh
index 74aff7fa..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");
@@ -13,12 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
+memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid
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