-module(sup).
-vsn(1).
-behaviour(supervisor).
-export([init/1]).
init([]) ->
SupFlags = {one_for_one, 4, 3600},
Server = {my_server, {my_server, start_link, []},
permanent, 2000, worker, [my_server]},
GS1 = {gs1, {gs1, start_link, []}, permanent, 2000, worker, [gs1]},
{ok, {SupFlags, [Server, GS1]}}.