Skip to content

Commit

Permalink
Start child supervisors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Allen committed Jul 14, 2014
1 parent 90ee9f0 commit 71640ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/parque_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ start_link() ->
%% ===================================================================

init([]) ->
{ok, { {one_for_one, 5, 10}, []} }.
{ok, { {one_for_one, 5, 10}, [
?CHILD(parque_port_sup, supervisor),
?CHILD(parque_player_sup, supervisor)]}
}.

0 comments on commit 71640ad

Please sign in to comment.