From: Evgeny Khramtsov Date: Mon, 15 Jul 2019 09:53:26 +0000 (+0300) Subject: Fix startup order of ejabberd_sup children X-Git-Tag: 19.08~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=295015a8cbd44f9d75e65e8b4dff3538f3e8de7d;p=ejabberd Fix startup order of ejabberd_sup children --- diff --git a/src/ejabberd_sup.erl b/src/ejabberd_sup.erl index 1868a85ce..ba45c3be5 100644 --- a/src/ejabberd_sup.erl +++ b/src/ejabberd_sup.erl @@ -47,10 +47,6 @@ init([]) -> supervisor(ejabberd_listener), worker(ejabberd_pkix), worker(ejabberd_acme), - worker(ejabberd_s2s), - simple_supervisor(ejabberd_s2s_in), - simple_supervisor(ejabberd_s2s_out), - simple_supervisor(ejabberd_service), worker(acl), worker(ejabberd_shaper), supervisor(ejabberd_db_sup), @@ -61,6 +57,10 @@ init([]) -> worker(ejabberd_router_multicast), worker(ejabberd_local), worker(ejabberd_sm), + worker(ejabberd_s2s), + simple_supervisor(ejabberd_s2s_in), + simple_supervisor(ejabberd_s2s_out), + simple_supervisor(ejabberd_service), worker(ejabberd_captcha), worker(ext_mod), supervisor(ejabberd_gen_mod_sup, gen_mod),