File size: 693 Bytes
416d5af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%%%-------------------------------------------------------------------
%%% @doc HK-CORE :: application entry point.
%%%
%%% Bootstraps configuration defaults (via the `.app.src' `env', see
%%% `hyperkitty.app.src') and starts the supervision tree. Nothing
%%% else happens here on purpose -- nothing outside
%%% `hyperkitty_sup''s children should hold state, so there is
%%% nothing else to initialize.
%%% @end
%%%-------------------------------------------------------------------
-module(hyperkitty_app).
-behaviour(application).

-export([start/2, stop/1]).

start(_StartType, _StartArgs) ->
    hk_operation_store:ensure_table(),
    hyperkitty_sup:start_link().

stop(_State) ->
    ok.