aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/xdsserver.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 11:09:35 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 15:49:30 +0100
commit963931e04d44a5b40d38817163f52f56241a9f33 (patch)
tree986841498f9c998549ee175c240713709e32510a /lib/xdsserver/xdsserver.go
parente9fa58ca8a03f03e6022955fd4934e6fda5876ee (diff)
Standardized XDS config file name and location.
- config file name is : server-config.json - xds-server settings under user's home is: $HOME/.xds/server - xds-server settings under etc is: /etc/xds/server Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xdsserver/xdsserver.go')
-rw-r--r--lib/xdsserver/xdsserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xdsserver/xdsserver.go b/lib/xdsserver/xdsserver.go
index 5079553..64041b9 100644
--- a/lib/xdsserver/xdsserver.go
+++ b/lib/xdsserver/xdsserver.go
@@ -128,7 +128,7 @@ func (ctx *Context) Run() (int, error) {
ctx._logPrint("Logging file for HTTP requests: %s\n", logFileHTTPReq)
}
- // Create syncthing instance when section "syncthing" is present in config.json
+ // Create syncthing instance when section "syncthing" is present in server-config.json
if ctx.Config.FileConf.SThgConf != nil {
ctx.SThg = st.NewSyncThing(ctx.Config, ctx.Log)
}