diff options
| author | Luke Bakken <lbakken@pivotal.io> | 2019-12-18 09:41:20 -0800 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2019-12-19 13:59:18 +0100 |
| commit | 027f68648648dbd25e8a329de5eaec574af4c529 (patch) | |
| tree | 5e83c9858f95f36684cbbdd83af8b6eee9432c3f /Makefile | |
| parent | 2b4e0c8739407b13fca8e70c3c746933bb104bf4 (diff) | |
| download | rabbitmq-server-git-027f68648648dbd25e8a329de5eaec574af4c529.tar.gz | |
rabbitmq_prelaunch: Run rabbit_prelaunch_conf:setup/1 earlier
This fixes the issue where applications' configuration is applied after
they are started (and they do not read their environment again after
startup). This is the case of applications such as `ra` or
`sysmon_handler`: they are dependencies of `rabbit` and the Erlang
application controller will start them before.
Now, the configuration is loaded during the first prelaunch phase by
rabbitmq_prelaunch, hopefully before those applications are started.
To permit this change, the code updating the `enabled_plugins_file` was
moved to its own module. This one can't be moved to the
rabbitmq_prelaunch application because it depends on `rabbit_plugins`.
While here, add a couple assertions by checking return values.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
