aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-28 12:13:35 +0100
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-28 11:24:30 +0000
commit18546b4f43b9c927c4c91529dd912c7368b941bf (patch)
treee5d594c6f5fac52be789f50ba3735a210b407880 /docker
parent929832345dab22c99b1fc331902be5509551576e (diff)
Fix RabbitMQ service installation and initialization
RabbitMQ service added in [1] is not correctly installed and initialized: - There is an error during the installation process ("\" character missing). - In the installation script, the service needs to be started first. - In the container installation, the service needs to be started via supervisor. [1]https://gerrit.opnfv.org/gerrit/#/c/53597/ JIRA: YARDSTICK-1103 Change-Id: Iade3d6ce4b522e6f576af71b7afe5559081f7929 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/supervisor.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/supervisor.sh b/docker/supervisor.sh
index b67de2212..1e54b4164 100755
--- a/docker/supervisor.sh
+++ b/docker/supervisor.sh
@@ -24,3 +24,6 @@ directory = /etc/yardstick
command = uwsgi -i yardstick.ini
EOF
fi
+
+[program:rabbitmq]
+command = service rabbitmq-server restart