summaryrefslogtreecommitdiffstats
path: root/vio/run.sh
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2019-04-09 14:02:47 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2019-04-09 14:11:17 +0800
commitedbd90e0bb26038b397c3295c3844e6450254a70 (patch)
treeee70fbec7b9929dee7723c2a644cb31314e7c314 /vio/run.sh
parent37b43aa2b44de7c5b99eaa857d2d4d8b25106c06 (diff)
Use alpine for MultiCloud VIO plugin
This patch change the base image to python:2-alpine Change-Id: Ibc267587584f0389fdf2a0b5ff2c15e5928758d4 Issue-ID: MULTICLOUD-537 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'vio/run.sh')
-rwxr-xr-xvio/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vio/run.sh b/vio/run.sh
index 0a19cd5..1f08d71 100755
--- a/vio/run.sh
+++ b/vio/run.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (c) 2017-2018 VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -32,7 +32,7 @@ then
python multivimbroker/scripts/api.py
else
# nohup python manage.py runserver 0.0.0.0:9004 2>&1 &
- if [ ${SSL_ENABLED} = "true" ]; then
+ if [ "${SSL_ENABLED}" == "true" ]; then
nohup uwsgi --https :9004,/opt/vio/cert.crt,/opt/vio/cert.key --module vio.wsgi --master --processes 4 &
else