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 | 7ccf8c04b3253b5107ec334925473aadd8060f90 (patch) | |
| tree | 83376145ca27f75fa7d04648ed872b2706f01f9f /src | |
| parent | 5c69dd834fb6a1f61fc444a9993621fc14ee199d (diff) | |
| download | rabbitmq-server-git-7ccf8c04b3253b5107ec334925473aadd8060f90.tar.gz | |
Call rabbit:prepare just before starting rabbit.
Diffstat (limited to 'src')
| -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 435f96bac1..edec2ce1ce 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]. |
