Skip to content
Newer
Older
100644 17 lines (12 sloc) 324 Bytes
6b26557 @vinoski improved embedded support
vinoski authored Apr 9, 2010
1 -module(ybed_sup).
2 -behaviour(supervisor).
3
4 %% API
5 -export([start_link/0]).
6
7 %% Supervisor callbacks
8 -export([init/1]).
9
10 start_link() ->
11 supervisor:start_link({local, ?MODULE}, ?MODULE, []).
12
13 init([]) ->
14 YBed = {ybed, {ybed,start,[]},
15 permanent,2000,worker,[ybed]},
16 {ok,{{one_for_all,0,1}, [YBed]}}.
Something went wrong with that request. Please try again.