summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-08-11 20:25:09 +0200
committerUlf Wiger <ulf@feuerlabs.com>2015-08-11 20:25:09 +0200
commit54974ae9ead2200104cb35b5e34fff8030a06cc9 (patch)
tree4a737e2a5d63556d3f93bc7f276e43272076e85b /src
parentbeaa827117c8ec897e7e110e885b041643ddd750 (diff)
downloadrvi_core-54974ae9ead2200104cb35b5e34fff8030a06cc9.tar.gz
extended test suite + python script fix
Diffstat (limited to 'src')
-rw-r--r--src/rvi_app.erl3
-rw-r--r--src/rvi_core.app.src1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/rvi_app.erl b/src/rvi_app.erl
index 35769a7..129f28c 100644
--- a/src/rvi_app.erl
+++ b/src/rvi_app.erl
@@ -23,6 +23,9 @@
start(_StartType, _StartArgs) ->
rvi_sup:start_link().
+start_phase(announce, _, _) ->
+ gproc:reg({n,l,rvi_core}),
+ ok;
start_phase(ping, _, _) ->
%% exoport:ping(),
ok.
diff --git a/src/rvi_core.app.src b/src/rvi_core.app.src
index e188134..e84958a 100644
--- a/src/rvi_core.app.src
+++ b/src/rvi_core.app.src
@@ -30,6 +30,7 @@
proto_bert
]},
{mod, { rvi_app, []}},
+ {start_phases, [{announce, []}]},
{env,
[
%% The following settings default to a self-signing node (good for testing)