summaryrefslogtreecommitdiffstats
path: root/conf.d/etc
diff options
context:
space:
mode:
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"
+ }
+}