diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-08-27 15:16:47 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-08-27 15:16:47 +0100 |
commit | 72e84c5c65bf0bd8af6bbfe4d9a644362ff2afe6 (patch) | |
tree | 83376145ca27f75fa7d04648ed872b2706f01f9f | |
parent | 75e6bc91ba5965ef2c73674430b89ea69c4facc5 (diff) | |
download | rabbitmq-server-72e84c5c65bf0bd8af6bbfe4d9a644362ff2afe6.tar.gz |
Call rabbit:prepare just before starting rabbit.
-rw-r--r-- | src/rabbit_plugin_activator.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl index 435f96ba..edec2ce1 100644 --- a/src/rabbit_plugin_activator.erl +++ b/src/rabbit_plugin_activator.erl @@ -265,8 +265,8 @@ post_process_script(ScriptFile) -> {error, {failed_to_load_script, Reason}} end. -process_entry(Entry = {apply,{application,start_boot,[stdlib,permanent]}}) -> - [Entry, {apply,{rabbit,prepare,[]}}]; +process_entry(Entry = {apply,{application,start_boot,[rabbit,permanent]}}) -> + [{apply,{rabbit,prepare,[]}}, Entry]; process_entry(Entry) -> [Entry]. |