diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-10-20 14:30:33 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-10-20 14:36:43 +0200 |
commit | 2d90eac319979dba64371258b30e61e77a15db7d (patch) | |
tree | 3b89b5efcf4b4476852a9944a12d5c9a6e3502fd /conf.d/etc | |
parent | 77ab312b87324090ec6cb619d11f792b53fdddbd (diff) | |
parent | 7843cfd903cf7770df81c91193068900fb563e59 (diff) |
Merge branch 'master' into wipv0.3.0-rc1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/etc')
-rw-r--r-- | conf.d/etc/default/xds-agent | 5 | ||||
-rw-r--r-- | conf.d/etc/profile.d/xds-agent.sh | 4 | ||||
-rw-r--r-- | conf.d/etc/xds-agent/config.json | 15 |
3 files changed, 24 insertions, 0 deletions
diff --git a/conf.d/etc/default/xds-agent b/conf.d/etc/default/xds-agent new file mode 100644 index 0000000..93d56cb --- /dev/null +++ b/conf.d/etc/default/xds-agent @@ -0,0 +1,5 @@ +# defaults file for XDS Agent +# this file is used for service environment in /usr/lib/systemd/user/xds-agent.service + +# Logging level (supported levels: panic, fatal, error, warn, info, debug) +LOG_LEVEL=info diff --git a/conf.d/etc/profile.d/xds-agent.sh b/conf.d/etc/profile.d/xds-agent.sh new file mode 100644 index 0000000..78eff4f --- /dev/null +++ b/conf.d/etc/profile.d/xds-agent.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +#---------- AGL xds-agent tool options Start ---------" +[ ":${PATH}:" != *":%%XDS_INSTALL_BIN_DIR%%:"* ] && export PATH=%%XDS_INSTALL_BIN_DIR%%:${PATH} diff --git a/conf.d/etc/xds-agent/config.json b/conf.d/etc/xds-agent/config.json new file mode 100644 index 0000000..7c7d7cb --- /dev/null +++ b/conf.d/etc/xds-agent/config.json @@ -0,0 +1,15 @@ +{ + "httpPort": "8000", + "webAppDir": "./www", + "logsDir": "${HOME}/.xds/agent/logs", + "xdsServers": [ + { + "url": "http://localhost:8810" + } + ], + "syncthing": { + "home": "${HOME}/.xds/agent/syncthing-config", + "gui-address": "http://localhost:8386", + "gui-apikey": "1234abcezam" + } +} |