Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
-module(test_sup).
-behaviour(supervisor).
%% Supervisor callbacks
-export([init/1, start_child/0, start_link/0]).
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
start_child() ->
supervisor:start_child(?MODULE, []).
init([]) ->
{ok, {{simple_one_for_one, 5, 1}, [
{test, {test, start_link, []}, permanent, brutal_kill, worker, [test]}
]}}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.