diff options
Diffstat (limited to 'docs/part-2')
-rw-r--r-- | docs/part-2/1_xds-server.md | 16 | ||||
-rw-r--r-- | docs/part-2/2_xds-agent.md | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/docs/part-2/1_xds-server.md b/docs/part-2/1_xds-server.md index e07d9d3..8303a2c 100644 --- a/docs/part-2/1_xds-server.md +++ b/docs/part-2/1_xds-server.md @@ -305,14 +305,14 @@ make build FLAVOUR=xds ### Configuration -`xds-server` configuration is driven by a JSON config file (`config.json`). +`xds-server` configuration is driven by a JSON config file (`server-config.json`). -Here is the logic to determine which `config.json` file will be used: +Here is the logic to determine which `server-config.json` file will be used: 1. from command line option: `--config myConfig.json` -1. `$HOME/.xds-server/config.json` file -1. `/etc/xds-server/config.json` file -1. `<xds-server executable dir>/config.json` file +1. `$HOME/.xds/server/server-config.json` file +1. `/etc/xds/server/server-config.json` file +1. `<xds-server executable dir>/server-config.json` file Supported fields in configuration file are (all fields are optional and example below corresponds to the default values): @@ -331,12 +331,12 @@ 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", } @@ -357,8 +357,6 @@ The server part is written in *Go* and web app (basic HTML) in *Angular4*. | +-- conf.d Linux configuration and startup files (systemd user service) | -+-- config.json.in example of config.json file -| +-- glide.yaml Go package dependency file | +-- lib/ sources of server part (Go) diff --git a/docs/part-2/2_xds-agent.md b/docs/part-2/2_xds-agent.md index 7ff271d..abe3d15 100644 --- a/docs/part-2/2_xds-agent.md +++ b/docs/part-2/2_xds-agent.md @@ -18,7 +18,7 @@ Here is the logic to determine which conf file will be used: 1. from command line option: `--config myConfig.json` 1. `$HOME/.xds/agent/agent-config.json` file -1. `/etc/xds-agent/config.json` file +1. `/etc/xds/agent/agent-config.json` file Supported fields in configuration file are (all fields are optional and example below corresponds to the default values): |