From 4b7ce7d2cc016e5f2e4b612fa742f65f91250235 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 15 Jan 2018 09:38:54 +0100 Subject: Document how to disable syncthing in xds-server - IOT-122 Signed-off-by: Sebastien Douheret --- docs/part-2/1_xds-server.md | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'docs/part-2/1_xds-server.md') 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 -- cgit 1.2.3-korg