1-module(sup).
2-vsn(2).
3-behaviour(supervisor).
4-export([init/1]).
5
6init([]) ->
7 SupFlags = {one_for_one, 4, 3600},
8 GS1 = {gs1, {gs1, start_link, []}, permanent, 2000, worker, [gs1]},
9 GS2 = {gs2, {gs2, start_link, []}, permanent, 2000, worker, [gs2]},
10 {ok, {SupFlags, [GS1, GS2]}}.
11