summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-server
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-10-20 18:47:15 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-10-20 18:47:15 +0100
commitbf29104b18667a695e2ab76dee2588dfb93f74e1 (patch)
tree17f7591c3caa98cc93290a9e2e8f02e7cebbe6f7 /scripts/rabbitmq-server
parentb826cead9a368f108585ace8e9fe68132883be42 (diff)
downloadrabbitmq-server-bf29104b18667a695e2ab76dee2588dfb93f74e1.tar.gz
Supply the plugins_expand_dir application env var to rabbit as well as the activator, and then in rabbit_mnesia:reset, ensure we do not nuke out the expand dir.
Diffstat (limited to 'scripts/rabbitmq-server')
-rwxr-xr-xscripts/rabbitmq-server2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server
index 8e26663a..d8437ca8 100755
--- a/scripts/rabbitmq-server
+++ b/scripts/rabbitmq-server
@@ -123,6 +123,8 @@ exec erl \
-boot ${RABBITMQ_BOOT_FILE} \
${RABBITMQ_CONFIG_ARG} \
+W w \
+ -rabbit plugins_dir "\"$RABBITMQ_PLUGINS_DIR\"" \
+ -rabbit plugins_expand_dir "\"${RABBITMQ_MNESIA_DIR}/plugins-scratch\"" \
${RABBITMQ_SERVER_ERL_ARGS} \
${RABBITMQ_LISTEN_ARG} \
-sasl errlog_type error \