fix(emqx_machine): Fix application startup order

Ekka application should be started first
This commit is contained in:
k32 2021-08-16 15:41:21 +02:00
parent 91f787533d
commit af902df040
1 changed files with 1 additions and 2 deletions

View File

@ -120,7 +120,7 @@ start_one_app(App) ->
?SLOG(debug, #{msg => "started_apps", apps => Apps});
{error, Reason} ->
?SLOG(critical, #{msg => "failed_to_start_app", app => App, reason => Reason}),
error({faile_to_start_app, App, Reason})
error({failed_to_start_app, App, Reason})
end.
%% list of app names which should be rebooted when:
@ -131,7 +131,6 @@ reboot_apps() ->
, esockd
, ranch
, cowboy
, ekka
, emqx
, emqx_prometheus
, emqx_modules