Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (12 sloc) 0.324 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-module(ybed_sup).
-behaviour(supervisor).

%% API
-export([start_link/0]).

%% Supervisor callbacks
-export([init/1]).

start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).

init([]) ->
    YBed = {ybed, {ybed,start,[]},
            permanent,2000,worker,[ybed]},
    {ok,{{one_for_all,0,1}, [YBed]}}.
Something went wrong with that request. Please try again.