diff options
| author | Daniil Fedotov <dfedotov@pivotal.io> | 2016-04-05 13:58:36 +0100 |
|---|---|---|
| committer | Daniil Fedotov <dfedotov@pivotal.io> | 2016-04-05 14:26:40 +0100 |
| commit | 811b0d9772808499fcee154d9a4060afe67a37e3 (patch) | |
| tree | 273fd97efe95ed94076c53db4b632c892bcd00c1 /scripts/rabbitmq-env.bat | |
| parent | 81fde9ecb2f5396687239970380a7d66fd5f53ba (diff) | |
| download | rabbitmq-server-git-811b0d9772808499fcee154d9a4060afe67a37e3.tar.gz | |
Override CONF_ENV_FILE with RABBITMQ_CONF_ENV_FILE
Diffstat (limited to 'scripts/rabbitmq-env.bat')
| -rw-r--r-- | scripts/rabbitmq-env.bat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rabbitmq-env.bat b/scripts/rabbitmq-env.bat index d5df9ddbd6..ea9cf45962 100644 --- a/scripts/rabbitmq-env.bat +++ b/scripts/rabbitmq-env.bat @@ -47,6 +47,10 @@ REM set SERVER_ERL_ARGS=+P 1048576 REM ## Get configuration variables from the configure environment file
REM [ -f ${CONF_ENV_FILE} ] && . ${CONF_ENV_FILE} || true
+if "!RABBITMQ_CONF_ENV_FILE!"=="" (
+ set RABBITMQ_CONF_ENV_FILE=!CONF_ENV_FILE!
+)
+
if exist "!RABBITMQ_CONF_ENV_FILE!" (
call "!RABBITMQ_CONF_ENV_FILE!"
)
|
