diff options
author | Paul Jones <paulj@lshift.net> | 2009-09-21 09:18:03 +0100 |
---|---|---|
committer | Paul Jones <paulj@lshift.net> | 2009-09-21 09:18:03 +0100 |
commit | 3c047addbb00dd8f3d441a9289f4855d553e7344 (patch) | |
tree | e5ba01d7b6a62bc063673f56ad138599e6083a0f /scripts/rabbitmq-server | |
parent | fb9cb12ac7cde685389aee9488131446a44b40dc (diff) | |
download | rabbitmq-server-3c047addbb00dd8f3d441a9289f4855d553e7344.tar.gz |
Corrected behaviour of run-node so the boot file is not usedbug21560
Diffstat (limited to 'scripts/rabbitmq-server')
-rwxr-xr-x | scripts/rabbitmq-server | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server index 547220b4..e5317bb1 100755 --- a/scripts/rabbitmq-server +++ b/scripts/rabbitmq-server @@ -73,10 +73,11 @@ else fi RABBITMQ_START_RABBIT= -[ "x" = "x$RABBITMQ_NODE_ONLY" ] && RABBITMQ_START_RABBIT='-noinput -s rabbit' +[ "x" = "x$RABBITMQ_ALLOW_INPUT" ] && RABBITMQ_START_RABBIT='-noinput' +[ "x" = "x$RABBITMQ_NODE_ONLY" ] && RABBITMQ_START_RABBIT="${RABBITMQ_START_RABBIT} -s rabbit" RABBITMQ_EBIN_ROOT="${RABBITMQ_HOME}/ebin" -if [ -f "${RABBITMQ_EBIN_ROOT}/rabbit.boot" ]; then +if [ -f "${RABBITMQ_EBIN_ROOT}/rabbit.boot" ] && [ "x" = "x$RABBITMQ_NODE_ONLY" ]; then RABBITMQ_BOOT_FILE="${RABBITMQ_EBIN_ROOT}/rabbit" RABBITMQ_EBIN_PATH="" else |