From af902df040d6c43b3430ddb0d5501311f41f6c51 Mon Sep 17 00:00:00 2001 From: k32 <10274441+k32@users.noreply.github.com> Date: Mon, 16 Aug 2021 15:41:21 +0200 Subject: [PATCH] fix(emqx_machine): Fix application startup order Ekka application should be started first --- apps/emqx_machine/src/emqx_machine.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/emqx_machine/src/emqx_machine.erl b/apps/emqx_machine/src/emqx_machine.erl index bcfb1f501..3e5772b4a 100644 --- a/apps/emqx_machine/src/emqx_machine.erl +++ b/apps/emqx_machine/src/emqx_machine.erl @@ -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