Take out OTP files
Were only there for show
This commit is contained in:
parent
bea094aaf5
commit
bb15c1f780
2 changed files with 0 additions and 49 deletions
|
@ -1,19 +0,0 @@
|
||||||
-module(leveled_app).
|
|
||||||
|
|
||||||
-behaviour(application).
|
|
||||||
|
|
||||||
%% Application callbacks
|
|
||||||
-export([start/2, stop/1]).
|
|
||||||
|
|
||||||
%% ===================================================================
|
|
||||||
%% Application callbacks
|
|
||||||
%% ===================================================================
|
|
||||||
|
|
||||||
%% Currently this is just to keep dialyzer happy
|
|
||||||
%% Run the store diretcly using leveled_bookie:book_start/4 or bookie_start/1
|
|
||||||
|
|
||||||
start(_StartType, _StartArgs) ->
|
|
||||||
leveled_sup:start_link().
|
|
||||||
|
|
||||||
stop(_State) ->
|
|
||||||
ok.
|
|
|
@ -1,30 +0,0 @@
|
||||||
-module(leveled_sup).
|
|
||||||
|
|
||||||
-behaviour(supervisor).
|
|
||||||
|
|
||||||
%% API
|
|
||||||
-export([start_link/0]).
|
|
||||||
|
|
||||||
%% Supervisor callbacks
|
|
||||||
-export([init/1]).
|
|
||||||
|
|
||||||
%% Helper macro for declaring children of supervisor
|
|
||||||
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).
|
|
||||||
|
|
||||||
%% ===================================================================
|
|
||||||
%% API functions
|
|
||||||
%% ===================================================================
|
|
||||||
|
|
||||||
%% Currently this is just to keep dialyzer happy
|
|
||||||
%% Run the store directly using leveled_bookie:book_start/4 or bookie_start/1
|
|
||||||
|
|
||||||
start_link() ->
|
|
||||||
supervisor:start_link({local, leveled_bookie}, ?MODULE, []).
|
|
||||||
|
|
||||||
%% ===================================================================
|
|
||||||
%% Supervisor callbacks
|
|
||||||
%% ===================================================================
|
|
||||||
|
|
||||||
init([]) ->
|
|
||||||
{ok, { {one_for_one, 5, 10}, []} }.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue