blob: ca6f67264173b92893a228edd8dd6b7058ac4766 [file] [log] [blame]
%%%-------------------------------------------------------------------
%% @doc dubboerl_demo top level supervisor.
%% @end
%%%-------------------------------------------------------------------
-module(dubboerl_demo_sup).
-behaviour(supervisor).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
-define(SERVER, ?MODULE).
%%====================================================================
%% API functions
%%====================================================================
start_link() ->
supervisor:start_link({local, ?SERVER}, ?MODULE, []).
%%====================================================================
%% Supervisor callbacks
%%====================================================================
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.
%%====================================================================
%% Internal functions
%%====================================================================