Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge changes from topics 'YARDSTICK-1250', 'YARDSTICK-1249'
[yardstick.git]
/
docker
/
supervisor.sh
diff --git
a/docker/supervisor.sh
b/docker/supervisor.sh
index
b67de22
..
44e34fb
100755
(executable)
--- a/
docker/supervisor.sh
+++ b/
docker/supervisor.sh
@@
-11,7
+11,7
@@
# nginx service start when boot
supervisor_config='/etc/supervisor/conf.d/yardstick.conf'
# nginx service start when boot
supervisor_config='/etc/supervisor/conf.d/yardstick.conf'
-if [[ ! -e "${supervisor_config}" ]];then
+if [[ ! -e "${supervisor_config}" ]];
then
cat << EOF > "${supervisor_config}"
[supervisord]
nodaemon = true
cat << EOF > "${supervisor_config}"
[supervisord]
nodaemon = true
@@
-22,5
+22,8
@@
command = service nginx restart
[program:yardstick_uwsgi]
directory = /etc/yardstick
command = uwsgi -i yardstick.ini
[program:yardstick_uwsgi]
directory = /etc/yardstick
command = uwsgi -i yardstick.ini
+
+[program:rabbitmq]
+command = service rabbitmq-server restart
EOF
fi
EOF
fi