]> granicus.if.org Git - ejabberd/commitdiff
Fix order of starting supervisors.
authormichal <zielonka.michal@gmail.com>
Thu, 6 Apr 2017 06:50:23 +0000 (08:50 +0200)
committermichal <zielonka.michal@gmail.com>
Thu, 6 Apr 2017 06:50:23 +0000 (08:50 +0200)
ExtMod should be loaded before GenModSupervisor because ext_mod adds proper paths to ebin from modules (ejabberd-contrib).
Without this change you have to add -pa parameter with path to module's ebin.

src/ejabberd_sup.erl

index 0a33a5c76ca397f9e76f86a7796710ec27b3af0c..bfc6a0a91f6ce757458a285103e82d30acc80c39 100644 (file)
@@ -173,7 +173,7 @@ init([]) ->
           RouterMulticast,
           Local,
           SM,
-          GenModSupervisor,
           ExtMod,
+          GenModSupervisor,
           Auth,
           OAuth]}}.