25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Don't try to load already loaded applications

This commit is contained in:
Evgeniy Khramtsov 2017-04-19 11:40:58 +03:00
parent b8a7720986
commit 64333f69ea

View File

@ -261,18 +261,6 @@ init([ServerHost, Opts]) ->
true),
DocRoot1 = expand_home(str:strip(DocRoot, right, $/)),
DocRoot2 = expand_host(DocRoot1, ServerHost),
case ServiceURL of
undefined ->
ok;
<<"http://", _/binary>> ->
application:start(inets);
<<"https://", _/binary>> ->
application:start(inets),
application:start(crypto),
application:start(asn1),
application:start(public_key),
application:start(ssl)
end,
case DirMode of
undefined ->
ok;