diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-04-12 05:28:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-12 05:28:08 +0000 |
commit | 6528a64e397075f73c4e5e2af560589d48d7f4d8 (patch) | |
tree | ffae5869a062d94ca3e85c5c8aeb965e788d619f /fcaps/run.sh | |
parent | 2024bb59b1d4ec20300304aed3a69132b9c082bc (diff) | |
parent | b2966d1891f8633d7e55392f9fcd735be4982313 (diff) |
Merge "Use alpine for MultiCloud FCAPS plugin"
Diffstat (limited to 'fcaps/run.sh')
-rw-r--r-- | fcaps/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fcaps/run.sh b/fcaps/run.sh index 0c1cd87d..b5e1a61f 100644 --- a/fcaps/run.sh +++ b/fcaps/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (c) 2017-2019 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ export PYTHONPATH=lib/share nohup celery -A fcaps worker --concurrency=1 --loglevel=info & #nohup python manage.py runserver 0.0.0.0:9011 2>&1 & -if [ ${SSL_ENABLED} = "true" ]; then +if [ "${SSL_ENABLED}" == "true" ]; then nohup uwsgi --https :9001,fcaps/pub/ssl/cert/cert.crt,fcaps/pub/ssl/cert/cert.key,HIGH --module fcaps.wsgi --master --enable-threads --processes 4 & else nohup uwsgi --http :9011 --module fcaps.wsgi --master --enable-threads --processes 4 & |