diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-01-07 16:03:50 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-01-07 16:03:50 +0000 |
| commit | d4ace7f82d9e26fd4430465622d5f7d110977d56 (patch) | |
| tree | 0e4f07f581965e00254644fee069402f4412399b /scripts/rabbitmq-multi | |
| parent | 999226e6d4e2aac047955102656a9afa2d6729ca (diff) | |
| download | rabbitmq-server-git-d4ace7f82d9e26fd4430465622d5f7d110977d56.tar.gz | |
Don't have the scripts set bind address of 0.0.0.0 if the port is specified but IP isn't. Instead use the same logic as if it's specified in the configuration file.
Diffstat (limited to 'scripts/rabbitmq-multi')
| -rwxr-xr-x | scripts/rabbitmq-multi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rabbitmq-multi b/scripts/rabbitmq-multi index 33883702b1..d8a6992166 100755 --- a/scripts/rabbitmq-multi +++ b/scripts/rabbitmq-multi @@ -38,7 +38,7 @@ CONFIG_FILE=/etc/rabbitmq/rabbitmq . `dirname $0`/rabbitmq-env -DEFAULT_NODE_IP_ADDRESS=0.0.0.0 +DEFAULT_NODE_IP_ADDRESS=auto DEFAULT_NODE_PORT=5672 [ "x" = "x$RABBITMQ_NODE_IP_ADDRESS" ] && [ "x" != "x$NODE_IP_ADDRESS" ] && RABBITMQ_NODE_IP_ADDRESS=${NODE_IP_ADDRESS} [ "x" = "x$RABBITMQ_NODE_PORT" ] && [ "x" != "x$NODE_PORT" ] && RABBITMQ_NODE_PORT=${NODE_PORT} |
