]> granicus.if.org Git - ejabberd/commitdiff
Fix startup order of ejabberd_sup children
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Mon, 15 Jul 2019 09:53:26 +0000 (12:53 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Mon, 15 Jul 2019 09:53:26 +0000 (12:53 +0300)
src/ejabberd_sup.erl

index 1868a85ced2da84c83130ffc734862c5508e7f20..ba45c3be514d24e24e15164f3fc51b10b63483b9 100644 (file)
@@ -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),