diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-06-30 15:24:52 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-06-30 15:24:52 +0100 |
| commit | bbdb05f809ba9af2890795e68b7bf69333685d0e (patch) | |
| tree | 8039811d20881d9e1b0d1601afe87936bd90b863 /scripts/rabbitmq-plugins | |
| parent | 249efaf39abb97e183483d057ec54ba14069d05b (diff) | |
| parent | 5b4152707c71281fbb89c993d2ec244b3955b173 (diff) | |
| download | rabbitmq-server-git-bbdb05f809ba9af2890795e68b7bf69333685d0e.tar.gz | |
Merge bug26171
Diffstat (limited to 'scripts/rabbitmq-plugins')
| -rwxr-xr-x | scripts/rabbitmq-plugins | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rabbitmq-plugins b/scripts/rabbitmq-plugins index bd7d0b6ab2..36910effac 100755 --- a/scripts/rabbitmq-plugins +++ b/scripts/rabbitmq-plugins @@ -21,6 +21,7 @@ ##--- Set environment vars RABBITMQ_<var_name> to defaults if not set +[ "x" = "x$RABBITMQ_NODENAME" ] && RABBITMQ_NODENAME=${NODENAME} [ "x" = "x$RABBITMQ_ENABLED_PLUGINS_FILE" ] && RABBITMQ_ENABLED_PLUGINS_FILE=${ENABLED_PLUGINS_FILE} [ "x" = "x$RABBITMQ_PLUGINS_DIR" ] && RABBITMQ_PLUGINS_DIR=${PLUGINS_DIR} @@ -35,4 +36,5 @@ exec ${ERL_DIR}erl \ -s rabbit_plugins_main \ -enabled_plugins_file "$RABBITMQ_ENABLED_PLUGINS_FILE" \ -plugins_dist_dir "$RABBITMQ_PLUGINS_DIR" \ + -nodename $RABBITMQ_NODENAME \ -extra "$@" |
