From b2966d1891f8633d7e55392f9fcd735be4982313 Mon Sep 17 00:00:00 2001 From: Liexiang Yue Date: Fri, 12 Apr 2019 11:19:04 +0800 Subject: Use alpine for MultiCloud FCAPS plugin This patch change the base image to python:2-alpine Issue-ID: MULTICLOUD-499 Change-Id: I8fed9c774eabab496fa07acd96b7f759e20b123e Signed-off-by: Liexiang Yue --- fcaps/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fcaps/run.sh') diff --git a/fcaps/run.sh b/fcaps/run.sh index 51450029..088a04c2 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 & -- cgit 1.2.3-korg