aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_sup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_sup.erl')
-rw-r--r--src/ejabberd_sup.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ejabberd_sup.erl b/src/ejabberd_sup.erl
index 224ed16c1..35527ebd7 100644
--- a/src/ejabberd_sup.erl
+++ b/src/ejabberd_sup.erl
@@ -41,6 +41,12 @@ init([]) ->
brutal_kill,
worker,
[ejabberd_hooks]},
+ Cluster = {ejabberd_cluster,
+ {ejabberd_cluster, start_link, []},
+ permanent,
+ 5000,
+ worker,
+ [ejabberd_cluster]},
SystemMonitor =
{ejabberd_system_monitor,
{ejabberd_system_monitor, start_link, []},
@@ -152,6 +158,7 @@ init([]) ->
permanent, 5000, worker, [ejabberd_pkix]},
{ok, {{one_for_one, 10, 1},
[Hooks,
+ Cluster,
CyrSASL,
Translation,
AccessPerms,