From: Peter Lemenkov <lemenkov@gmail.com>
Date: Sun, 17 Jul 2016 18:42:06 +0300
Subject: [PATCH] rabbit_prelaunch must use RABBITMQ_SERVER_ERL_ARGS
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server
index 7b0599e..130ff0b 100755
--- a/scripts/rabbitmq-server
+++ b/scripts/rabbitmq-server
@@ -82,6 +82,7 @@ RABBITMQ_DIST_PORT=$RABBITMQ_DIST_PORT \
-boot "${CLEAN_BOOT_FILE}" \
-noinput \
-hidden \
+ ${RABBITMQ_SERVER_ERL_ARGS} \
-s rabbit_prelaunch \
${RABBITMQ_NAME_TYPE} ${RABBITMQ_PRELAUNCH_NODENAME} \
-extra "${RABBITMQ_NODENAME}"