diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-15 09:38:54 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-15 09:38:57 +0100 |
commit | 4b7ce7d2cc016e5f2e4b612fa742f65f91250235 (patch) | |
tree | bbd047fd8c526e3f22442d769dc089696e236106 /docs/part-2/1_xds-server.md | |
parent | a239e735d8904a92729c35230e5985bc48aa93d5 (diff) |
Document how to disable syncthing in xds-server - IOT-122
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/part-2/1_xds-server.md')
-rw-r--r-- | docs/part-2/1_xds-server.md | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/docs/part-2/1_xds-server.md b/docs/part-2/1_xds-server.md index adc0012..b4022b2 100644 --- a/docs/part-2/1_xds-server.md +++ b/docs/part-2/1_xds-server.md @@ -95,7 +95,7 @@ bash ./xds-docker-create-container.sh --volume /my-workspace:$HOME/my-workspace You can change docker used port with `-id` option ```bash -# Create new XDS worker container with different port +# Create new XDS worker container with a different port number bash ./xds-docker-create-container.sh -id ${ID} # Check that new container is running @@ -529,9 +529,32 @@ All fields are optional and example below corresponds to the default values. } ``` ->**Note:** +>**Notes:** +> +>Environment variables are supported by using `${MY_VAR}` syntax. +> -Environment variables are supported by using `${MY_VAR}` syntax. +#### Disable syncthing + +`CloudSync` synchronization type based on `syncthing` tool can be disabled by +simply removing (or renaming) `"syncthing"` key in configuration file. +Here is a JSON configuration file example where syncthing key as been renamed: + +```json +{ + "httpPort": 8000, + "webAppDir": "webapp/dist", + "shareRootDir": "${HOME}/.xds/server/projects", + "logsDir": "/tmp/logs", + "sdkScriptsDir": "${EXEPATH}/scripts/sdks", + "syncthing_DISABLE": { + "binDir": "./bin", + "home": "${HOME}/.xds/server/syncthing-config", + } +} +``` + +On benefit to do that is to increase XDS-Server startup time. ## Debugging |