Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fb8b28e8be
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.591 kb
%%%-------------------------------------------------------------------
%%% Author : Tom Preston-Werner
%%%-------------------------------------------------------------------
-module(egitd_sup).
-behaviour(supervisor).
-export([start/0, start_link/1, init/1]).
start() ->
spawn(fun() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, _Arg = [])
end).
start_link(Args) ->
supervisor:start_link({local, ?MODULE}, ?MODULE, Args).
init([]) ->
{ok, {{one_for_one, 100, 300},
[{server,
{server, start_link, []},
permanent, 10000, worker, [server]}
]}}.
Jump to Line
Something went wrong with that request. Please try again.