aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd.app.src.script
blob: eea0115466fb4bbe8836eab1e759eae74fc14594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Vars = case file:consult(filename:join([filename:dirname(SCRIPT), "..", "vars.config"])) of
    {ok, Terms} ->
        [lists:keyfind(description, 1, Terms),
         lists:keyfind(vsn, 1, Terms),
         {env, [lists:keyfind(enabled_backends, 1, Terms)]}
        ];
    _Err ->
        []
    end,

{application, ejabberd,
 Vars ++
 [{modules, []},
  {registered, []},
  {applications, [kernel, stdlib, sasl, ssl]},
  {included_applications,
    [os_mon,
     lager,
     mnesia,
     inets,
     p1_utils,
     fast_yaml,
     fast_tls,
     pkix,
     xmpp,
     cache_tab,
     eimp]},
  {mod, {ejabberd_app, []}}]}.

%% Local Variables:
%% mode: erlang
%% End:
%% vim: set filetype=erlang tabstop=8: