Merge "Assurance status of rabbitmq is running"

This commit is contained in:
Jenkins 2015-04-17 15:49:12 +00:00 committed by Gerrit Code Review
commit e350d3aa53

View File

@ -200,10 +200,7 @@ function restart_rpc_backend {
[[ $i -eq "10" ]] && die $LINENO "Failed to set rabbitmq password"
if is_fedora || is_suse; then
# service is not started by default
restart_service rabbitmq-server
fi
restart_service rabbitmq-server
rabbit_setuser "$RABBIT_USERID" "$RABBIT_PASSWORD" || rc=$?
if [ $rc -ne 0 ]; then