hyperkitty-chromium / src /hyperkitty_app.erl
SNAPKITTYWEST's picture
Add src/hyperkitty_app.erl
416d5af verified
Raw
History Blame Contribute Delete
693 Bytes
%%%-------------------------------------------------------------------
%%% @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.