mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Don't try to load already loaded applications
This commit is contained in:
parent
b8a7720986
commit
64333f69ea
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user