fix(emqx_machine): Fix application startup order
Ekka application should be started first
This commit is contained in:
parent
91f787533d
commit
af902df040
|
@ -120,7 +120,7 @@ start_one_app(App) ->
|
||||||
?SLOG(debug, #{msg => "started_apps", apps => Apps});
|
?SLOG(debug, #{msg => "started_apps", apps => Apps});
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
?SLOG(critical, #{msg => "failed_to_start_app", app => App, reason => 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.
|
end.
|
||||||
|
|
||||||
%% list of app names which should be rebooted when:
|
%% list of app names which should be rebooted when:
|
||||||
|
@ -131,7 +131,6 @@ reboot_apps() ->
|
||||||
, esockd
|
, esockd
|
||||||
, ranch
|
, ranch
|
||||||
, cowboy
|
, cowboy
|
||||||
, ekka
|
|
||||||
, emqx
|
, emqx
|
||||||
, emqx_prometheus
|
, emqx_prometheus
|
||||||
, emqx_modules
|
, emqx_modules
|
||||||
|
|
Loading…
Reference in New Issue