aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/etc
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-13 15:42:09 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-13 17:22:13 +0200
commit5756bd350d585660cce53a28dc66bfcf162ecca1 (patch)
treecbb0c3a013c70fd48365effe90b5bd95e03e4c44 /conf.d/etc
parent6849b490ccfe2f5ed2bb577758edf30445691378 (diff)
Set install dir to /opt/AGL and move conf to $HOME/.xds-server
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/etc')
-rw-r--r--conf.d/etc/default/xds-server6
-rw-r--r--conf.d/etc/xds-server/config.json11
2 files changed, 14 insertions, 3 deletions
diff --git a/conf.d/etc/default/xds-server b/conf.d/etc/default/xds-server
index 858530d..0818638 100644
--- a/conf.d/etc/default/xds-server
+++ b/conf.d/etc/default/xds-server
@@ -2,10 +2,10 @@
# this file is used for service environment in /lib/systemd/system/xds-server.service
# JSON config file to use
-#APP_CONFIG=/home/devel/.config/xds/server/config.json
+APP_CONFIG=/home/devel/.config/xds/server/config.json
# Logging level (supported levels: panic, fatal, error, warn, info, debug)
-#LOG_LEVEL=info
+LOG_LEVEL=info
# Filename where logs will be redirected (default stdout)
-#LOG_FILENAME=/tmp/xds/logs/xds-server.logs
+LOG_FILENAME=/tmp/xds-server/logs/xds-server.log
diff --git a/conf.d/etc/xds-server/config.json b/conf.d/etc/xds-server/config.json
new file mode 100644
index 0000000..02d87bf
--- /dev/null
+++ b/conf.d/etc/xds-server/config.json
@@ -0,0 +1,11 @@
+{
+ "webAppDir": "www",
+ "httpPort": "8000",
+ "shareRootDir": "${HOME}/.xds-server/projects",
+ "sdkRootDir": "/xdt/sdk",
+ "syncthing": {
+ "binDir": "",
+ "home": "${HOME}/.xds-server/syncthing-config",
+ "gui-address": "http://localhost:8384"
+ }
+}