summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-06-29 19:39:02 +0200
committerUlf Wiger <ulf@feuerlabs.com>2015-06-29 19:39:02 +0200
commita4b7bf8ca342796e78eef0d641c4defc95d0b0c3 (patch)
tree21af865e42dbe91b2e6b86879fa5c2de6f85a4c6 /src
parentc415dbf4299d4fb694a7a1bf01bf52f344092484 (diff)
downloadrvi_core-a4b7bf8ca342796e78eef0d641c4defc95d0b0c3.tar.gz
minor fixes rvi -> rvi_core + usable defaults
Diffstat (limited to 'src')
-rw-r--r--src/rvi_core.app.src11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rvi_core.app.src b/src/rvi_core.app.src
index ee85629..e188134 100644
--- a/src/rvi_core.app.src
+++ b/src/rvi_core.app.src
@@ -1,3 +1,4 @@
+%% -*- erlang -*-
%%
%% Copyright (C) 2014, Jaguar Land Rover
%%
@@ -28,5 +29,13 @@
proto_json,
proto_bert
]},
- {mod, { rvi_app, []}}
+ {mod, { rvi_app, []}},
+ {env,
+ [
+ %% The following settings default to a self-signing node (good for testing)
+ %% Override these values in the setup config.
+ {provisioning_key, "$PRIV_DIR/keys/self_provisioning_key.pem"},
+ {authorize_jwt, "$PRIV_DIR/keys/authorize.jwt"},
+ {cert_dir, "$DATA_DIR/certs"}
+ ]}
]}.