From 57bdfc8349b3c8a727d6f439e1fd12661bc00a15 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 11 Dec 2017 11:05:55 +0100 Subject: Standardized XDS config file name and location. - config file name is : agent-config.json - xds-agent settings under user's home is: $HOME/.xds/agent - xds-agent settings under etc is: /etc/xds/agent Signed-off-by: Sebastien Douheret --- lib/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/agent') diff --git a/lib/agent/agent.go b/lib/agent/agent.go index 58a2ba0..a562e77 100644 --- a/lib/agent/agent.go +++ b/lib/agent/agent.go @@ -132,7 +132,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 agent-config.json if ctx.Config.FileConf.SThgConf != nil { ctx.SThg = st.NewSyncThing(ctx.Config, ctx.Log) } -- cgit 1.2.3-korg