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

updated top supervisor for STUN support

SVN Revision: 2459
This commit is contained in:
Evgeniy Khramtsov 2009-08-11 13:17:46 +00:00
parent 0a8bcf6530
commit cf90c8176e

View File

@ -169,6 +169,14 @@ init([]) ->
infinity, infinity,
supervisor, supervisor,
[ejabberd_tmp_sup]}, [ejabberd_tmp_sup]},
STUNSupervisor =
{ejabberd_stun_sup,
{ejabberd_tmp_sup, start_link,
[ejabberd_stun_sup, ejabberd_stun]},
permanent,
infinity,
supervisor,
[ejabberd_tmp_sup]},
{ok, {{one_for_one, 10, 1}, {ok, {{one_for_one, 10, 1},
[Hooks, [Hooks,
NodeGroups, NodeGroups,
@ -186,6 +194,7 @@ init([]) ->
HTTPSupervisor, HTTPSupervisor,
HTTPPollSupervisor, HTTPPollSupervisor,
IQSupervisor, IQSupervisor,
STUNSupervisor,
FrontendSocketSupervisor, FrontendSocketSupervisor,
Listener]}}. Listener]}}.