summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-12-03 15:04:36 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-12-03 15:04:36 +0000
commitffd0de5f9728e5c6d4a03eefc0d9782b530526ab (patch)
tree5b9cca46f092456b682f7db7ebe7cbf3bcea9eaf /install.sh
parent78d6cbd462fc7db9dcdab4d2478f6c27437d4c88 (diff)
Making nginx and uwsgi service start when run docker by using supervisor
JIRA: YARDSTICK-444 We need web service start when docker run. But now we add command in bashrc, so the web service start only if we login in docker container. So I use supervisor to make the web service start when docker run. Change-Id: Ic77eb0e130ae7dbd82039c312649fed76b128513 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index afb735195..e9b6035d9 100755
--- a/install.sh
+++ b/install.sh
@@ -16,6 +16,7 @@ apt-get update && apt-get install -y \
nginx \
uwsgi \
uwsgi-plugin-python \
+ supervisor \
python-setuptools && \
easy_install -U setuptools