diff --git a/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl b/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl index 23e012c382..780fd054b8 100644 --- a/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl +++ b/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl @@ -19,7 +19,7 @@ limitations under the License. # This is taken from https://github.com/openstack/fuel-ccp-rabbitmq/blob/master/service/files/rabbitmq-liveness.sh.j2 set -eu set -o pipefail -exec 1>/proc/1/fd/2 2>/proc/1/fd/2 +exec 1>/dev/null 2>&1 source $(readlink -f $(dirname $0))/rabbitmq-check-helpers.sh set-log-prefix "liveness:$$" diff --git a/rabbitmq/templates/bin/_rabbitmq-readiness.sh.tpl b/rabbitmq/templates/bin/_rabbitmq-readiness.sh.tpl index f5a5d4fedf..d78c957311 100644 --- a/rabbitmq/templates/bin/_rabbitmq-readiness.sh.tpl +++ b/rabbitmq/templates/bin/_rabbitmq-readiness.sh.tpl @@ -19,7 +19,7 @@ limitations under the License. # This is taken from https://github.com/openstack/fuel-ccp-rabbitmq/blob/master/service/files/rabbitmq-readiness.sh.j2 set -eu set -o pipefail -exec 1>/proc/1/fd/2 2>/proc/1/fd/2 +exec 1>/dev/null 2>&1 source $(readlink -f $(dirname $0))/rabbitmq-check-helpers.sh set-log-prefix "readiness:$$"