mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Initialize cluster before modules start
This commit is contained in:
parent
658ab235ba
commit
24e033ac79
@ -67,8 +67,8 @@ start(normal, _Args) ->
|
|||||||
%ejabberd_debug:eprof_start(),
|
%ejabberd_debug:eprof_start(),
|
||||||
%ejabberd_debug:fprof_start(),
|
%ejabberd_debug:fprof_start(),
|
||||||
maybe_add_nameservers(),
|
maybe_add_nameservers(),
|
||||||
start_modules(),
|
|
||||||
{ok, Pid} = ejabberd_cluster:start(),
|
{ok, Pid} = ejabberd_cluster:start(),
|
||||||
|
start_modules(),
|
||||||
ejabberd_cluster:announce(Pid),
|
ejabberd_cluster:announce(Pid),
|
||||||
ejabberd_node_groups:start(),
|
ejabberd_node_groups:start(),
|
||||||
ejabberd_listener:start_listeners(),
|
ejabberd_listener:start_listeners(),
|
||||||
|
Loading…
Reference in New Issue
Block a user