Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (21 sloc) 0.795 kb
-module({{appid}}_sup).
-behaviour(supervisor).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
%% ===================================================================
%% API functions
%% ===================================================================
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%% ===================================================================
%% Supervisor callbacks
%% ===================================================================
init(_Args) ->
VMaster = { {{appid}}_vnode_master,
{riak_core_vnode_master, start_link, [{{appid}}_vnode]},
permanent, 5000, worker, [riak_core_vnode_master]},
{ ok,
{ {one_for_one, 5, 10},
[VMaster]}}.
Jump to Line
Something went wrong with that request. Please try again.