From ffd0de5f9728e5c6d4a03eefc0d9782b530526ab Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Sat, 3 Dec 2016 15:04:36 +0000 Subject: 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 --- install.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'install.sh') 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 -- cgit 1.2.3-korg