aboutsummaryrefslogblamecommitdiffstats
path: root/templates/supervisor.erl
blob: b4ddf9101ebaa4f98a4a88168222df1890146238 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                             
-module(template_name).
-behaviour(supervisor).

-export([start_link/0]).
-export([init/1]).

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

init([]) ->
	Procs = [],
	{ok, {{one_for_one, 1, 5}, Procs}}.