Fixed error in bash in configure hook.

This commit is contained in:
Pete Vander Giessen 2018-11-01 03:31:05 +00:00
parent 0ac9b0079e
commit 8cc08a08a4
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ export HOME=$SNAP_COMMON/lib/rabbitmq # TODO: unset this?
# TODO: develop this a bit more -- not 100% that this does what we want.
while :;
do
(grep "Starting broker... completed" /var/snap/microstack/common/log/rabbitmq/startup_log && break) || echo "waiting for rabbitmq to start" && sleep 1;
grep "Starting broker... completed" /var/snap/microstack/common/log/rabbitmq/startup_log && break
echo "waiting for rabbitmq to start" && sleep 1;
done
rabbitmqctl add_user openstack rabbitmq || true