aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/etc/xds/agent/agent-config.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 11:05:55 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 15:46:53 +0100
commit57bdfc8349b3c8a727d6f439e1fd12661bc00a15 (patch)
tree9682a32b7feb2f6ac7429f01bcca6ac77327a8d3 /conf.d/etc/xds/agent/agent-config.json
parent7adfd21a66846ebb907bdcfd411e00670d70fa06 (diff)
Standardized XDS config file name and location.
- config file name is : agent-config.json - xds-agent settings under user's home is: $HOME/.xds/agent - xds-agent settings under etc is: /etc/xds/agent Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/etc/xds/agent/agent-config.json')
-rw-r--r--conf.d/etc/xds/agent/agent-config.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf.d/etc/xds/agent/agent-config.json b/conf.d/etc/xds/agent/agent-config.json
new file mode 100644
index 0000000..1a7957e
--- /dev/null
+++ b/conf.d/etc/xds/agent/agent-config.json
@@ -0,0 +1,15 @@
+{
+ "httpPort": "8800",
+ "webAppDir": "${EXEPATH}/www",
+ "logsDir": "${HOME}/.xds/agent/logs",
+ "xdsServers": [
+ {
+ "url": "http://localhost:8000"
+ }
+ ],
+ "syncthing": {
+ "home": "${HOME}/.xds/agent/syncthing-config",
+ "gui-address": "http://localhost:8386",
+ "gui-apikey": "1234abcezam"
+ }
+}