This commit is contained in:
Feng Lee 2015-04-30 15:43:46 +08:00
parent 2beaff43ab
commit 79d93e5d8b
3 changed files with 0 additions and 55 deletions

View File

@ -1,12 +0,0 @@
{application, emqttd_admin,
[
{description, ""},
{vsn, "1"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{mod, { emqttd_admin_app, []}},
{env, []}
]}.

View File

@ -1,16 +0,0 @@
-module(emqttd_admin_app).
-behaviour(application).
%% Application callbacks
-export([start/2, stop/1]).
%% ===================================================================
%% Application callbacks
%% ===================================================================
start(_StartType, _StartArgs) ->
emqttd_admin_sup:start_link().
stop(_State) ->
ok.

View File

@ -1,27 +0,0 @@
-module(emqttd_admin_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
%% ===================================================================
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%% ===================================================================
%% Supervisor callbacks
%% ===================================================================
init([]) ->
{ok, { {one_for_one, 5, 10}, []} }.