25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00
xmpp.chapril.org-ejabberd/src/ejabberd.app.src.script

37 lines
907 B
Plaintext
Raw Normal View History

Vars = case file:consult(filename:join([filename:dirname(SCRIPT), "..", "vars.config"])) of
{ok, Terms} ->
Backends = [mssql, mysql, odbc, pgsql, redis, sqlite],
EBs = lists:filter(fun(Backend) -> lists:member({Backend, true}, Terms) end, Backends),
[lists:keyfind(description, 1, Terms),
lists:keyfind(vsn, 1, Terms),
{env, [{enabled_backends, EBs}]}
];
_Err ->
[]
end,
{application, ejabberd,
Vars ++
[{modules, []},
{registered, []},
{applications, [kernel, sasl, ssl, stdlib, syntax_tools]},
{included_applications,
[compiler, inets, mnesia, os_mon,
cache_tab,
eimp,
fast_tls,
2021-06-25 12:32:40 +02:00
fast_xml,
fast_yaml,
2021-06-25 12:32:40 +02:00
p1_acme,
p1_utils,
pkix,
2021-06-25 12:32:40 +02:00
stringprep,
yconf,
xmpp]},
{mod, {ejabberd_app, []}}]}.
%% Local Variables:
%% mode: erlang
%% End:
%% vim: set filetype=erlang tabstop=8: