diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-04-07 00:13:42 +0200 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2018-04-07 19:21:49 +0000 |
commit | 31c79dc4cf4307a9b4e02731cac166aa388f01fc (patch) | |
tree | f1b36202177370200112c5ed289666133e015080 | |
parent | b4d68221154b7ff77384a958bf62ab3a6b2579ba (diff) |
docker/supervisor.sh: Fix condition block end
Fixes: 18546b4f
Change-Id: I51fcb48e790ff7c57273a3f6712ccb2b9bc4aa32
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit ead90064d12be552bd334828d41ffffa75fad01b)
-rwxr-xr-x | docker/supervisor.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/supervisor.sh b/docker/supervisor.sh index 1e54b4164..44e34fb38 100755 --- 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' -if [[ ! -e "${supervisor_config}" ]];then +if [[ ! -e "${supervisor_config}" ]]; then cat << EOF > "${supervisor_config}" [supervisord] nodaemon = true @@ -22,8 +22,8 @@ command = service nginx restart [program:yardstick_uwsgi] directory = /etc/yardstick command = uwsgi -i yardstick.ini -EOF -fi [program:rabbitmq] command = service rabbitmq-server restart +EOF +fi |