aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test/release_handler_SUITE_data/app1_app2/lib2/app2-1.0/src/app2_sup.erl
blob: 80b0952d4b2c524ea5d75cfff02bf9162b65b2ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-module(app2_sup).

-behaviour(supervisor).

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

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

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

init([]) ->
    AChild = {ginny,{app2_server,start_link,[]},
	      permanent,2000,worker,[app2_server]},
    {ok,{{one_for_all,0,1}, [AChild]}}.