summaryrefslogtreecommitdiffstats
path: root/starlingx/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'starlingx/run.sh')
-rwxr-xr-xstarlingx/run.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/starlingx/run.sh b/starlingx/run.sh
index 3779728f..e7f210ac 100755
--- a/starlingx/run.sh
+++ b/starlingx/run.sh
@@ -17,6 +17,12 @@ memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
uwsgi --http :9009 --module starlingx.wsgi --master --processes 4
+if [ ${SSL_ENABLED} = "true" ]; then
+ nohup uwsgi --https :9009,starlingx/pub/ssl/cert/cert.crt,starlingx/pub/ssl/cert/cert.key --module starlingx.wsgi --master --processes 4 &
+
+else
+ nohup uwsgi --http :9009 --module starlingx.wsgi --master --processes 4 &
+
logDir="/var/log/onap/multicloud/openstack/starlingx"
if [ ! -x $logDir ]; then
mkdir -p $logDir