25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

start ext_mod in later stage at init

This commit is contained in:
Christophe Romain 2015-03-11 17:39:07 +01:00
parent a1a46f7df5
commit 2d53f7f83e

View File

@ -50,7 +50,6 @@ start(normal, _Args) ->
ejabberd_commands:init(), ejabberd_commands:init(),
ejabberd_admin:start(), ejabberd_admin:start(),
gen_mod:start(), gen_mod:start(),
ext_mod:start(),
ejabberd_config:start(), ejabberd_config:start(),
set_loglevel_from_config(), set_loglevel_from_config(),
acl:start(), acl:start(),
@ -67,6 +66,7 @@ start(normal, _Args) ->
%ejabberd_debug:fprof_start(), %ejabberd_debug:fprof_start(),
maybe_add_nameservers(), maybe_add_nameservers(),
start_modules(), start_modules(),
ext_mod:start(),
ejabberd_listener:start_listeners(), ejabberd_listener:start_listeners(),
?INFO_MSG("ejabberd ~s is started in the node ~p", [?VERSION, node()]), ?INFO_MSG("ejabberd ~s is started in the node ~p", [?VERSION, node()]),
Sup; Sup;