aboutsummaryrefslogtreecommitdiffstats
path: root/docker/supervisor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/supervisor.sh')
-rwxr-xr-xdocker/supervisor.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/supervisor.sh b/docker/supervisor.sh
index 44e34fb38..a4104c7fb 100755
--- a/docker/supervisor.sh
+++ b/docker/supervisor.sh
@@ -12,6 +12,7 @@
supervisor_config='/etc/supervisor/conf.d/yardstick.conf'
if [[ ! -e "${supervisor_config}" ]]; then
+
cat << EOF > "${supervisor_config}"
[supervisord]
nodaemon = true
@@ -24,6 +25,7 @@ directory = /etc/yardstick
command = uwsgi -i yardstick.ini
[program:rabbitmq]
-command = service rabbitmq-server restart
+command=/etc/yardstick/rabbitmq.sh
EOF
+
fi