-module(sup).
-behaviour(supervisor).

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

start_link() ->
    supervisor:start_link(sup, []).

init(_Args) ->
    {ok, {{one_for_all, 20, 3600},
          [{serv, {serv, start_link, []},
            permanent, 2000, worker, [serv]}]}}.
