Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0c98716ef8
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.635 kb
-module(elixir_sup).
-behaviour(supervisor).
-export([init/1,start_link/1]).
start_link(Args) ->
supervisor:start_link({local, ?MODULE}, ?MODULE, Args).
init(Args) ->
Supervisors = [
{
elixir_code_server_sup,
{ elixir_code_server, start_link, Args },
permanent, % Restart = permanent | transient | temporary
2000, % Shutdown = brutal_kill | int() >= 0 | infinity
worker, % Type = worker | supervisor
[elixir] % Modules = [Module] | dynamic
}
],
{ok, {{one_for_one, 3, 10}, Supervisors}}.
Jump to Line
Something went wrong with that request. Please try again.