summaryrefslogtreecommitdiffstats
path: root/docs/part-1
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 11:43:34 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 11:43:34 +0100
commit5b0e7b915f077ddcda641998a63c67b0183584c7 (patch)
tree5a1b561ddd43b7e8f53abb9ee691195c6e632bbb /docs/part-1
parentb59c92c6b565e703de30463dd4b1c007961097cf (diff)
Standardized config file name and location.
config file name : xxx-config.json config file directory: $HOME/.xds/xxx or /etc/xds/xxx with xxx equals to "agent" or "server"
Diffstat (limited to 'docs/part-1')
-rw-r--r--docs/part-1/2_install-xds-server.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/part-1/2_install-xds-server.md b/docs/part-1/2_install-xds-server.md
index 143e028..2a47fa8 100644
--- a/docs/part-1/2_install-xds-server.md
+++ b/docs/part-1/2_install-xds-server.md
@@ -149,12 +149,12 @@ seb@laptop ~$ sudo zypper install agl-xds-server
When `xds-server` is started as a systemd service, default environment variables
are set into `/etc/default/xds-server` file.
-`xds-server` configuration is also driven by a JSON config file (`config.json`),
-and default JSON config is `/etc/xds-server/config.json`.
+`xds-server` configuration is also driven by a JSON config file (`server-config.json`),
+and default JSON config is `/etc/xds/server/server-config.json`.
<!-- note -->
**Note:** you can use your own JSON config by settings `APP_CONFIG` variable of
-`/etc/default/xds-server` file to your file, for example `/home/MYUSER/.xds/server/config.json`
+`/etc/default/xds-server` file to your file, for example `/home/MYUSER/.xds/server/server-config.json`
<!-- endnote -->
Supported fields in JSON configuration file are :
@@ -175,12 +175,12 @@ All fields are optional and example below corresponds to the default values:
{
"httpPort": 8000,
"webAppDir": "webapp/dist",
- "shareRootDir": "${HOME}/.xds-server/projects",
+ "shareRootDir": "${HOME}/.xds/server/projects",
"logsDir": "/tmp/logs",
"sdkRootDir": "/xdt/sdk",
"syncthing": {
"binDir": "./bin",
- "home": "${HOME}/.xds-server/syncthing-config",
+ "home": "${HOME}/.xds/server/syncthing-config",
"gui-address": "http://localhost:8385",
"gui-apikey": "123456789",
}