Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8a1873a9e1
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.626 kb
-module({{appid}}_app).
-behaviour(application).
%% Application callbacks
-export([start/2, stop/1]).
%% ===================================================================
%% Application callbacks
%% ===================================================================
start(_StartType, _StartArgs) ->
case {{appid}}_sup:start_link() of
{ok, Pid} ->
ok = riak_core:register_vnode_module(riak_{{appid}}_vnode),
ok = riak_core_node_watcher:service_up(riak_{{appid}}, self()),
{ok, Pid};
{error, Reason} ->
{error, Reason}
end.
stop(_State) ->
ok.
Jump to Line
Something went wrong with that request. Please try again.