Skip to content

Commit

Permalink
Merge pull request #2378 from rabbitmq/load-conf-before-erlang-dist-s…
Browse files Browse the repository at this point in the history
…etup

rabbit_prelaunch: Load configuration before Erlang dist. is started

(cherry picked from commit e61c608)
  • Loading branch information
dumbbell authored and michaelklishin committed Jun 11, 2020
1 parent 63746be commit 9b5b78d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/rabbitmq_prelaunch/src/rabbit_prelaunch.erl
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ do_run() ->
%% 1. Erlang/OTP compatibility check.
ok = rabbit_prelaunch_erlang_compat:check(Context),

%% 2. Erlang distribution check + start.
ok = rabbit_prelaunch_dist:setup(Context),

%% 3. Configuration check + loading.
%% 2. Configuration check + loading.
ok = rabbit_prelaunch_conf:setup(Context),

%% 3. Erlang distribution check + start.
ok = rabbit_prelaunch_dist:setup(Context),

%% 4. Write PID file.
rabbit_log_prelaunch:debug(""),
_ = write_pid_file(Context),
Expand Down

0 comments on commit 9b5b78d

Please sign in to comment.