summaryrefslogtreecommitdiffstats
path: root/lib/syncthing/st.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 11:05:55 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-11 15:46:53 +0100
commit57bdfc8349b3c8a727d6f439e1fd12661bc00a15 (patch)
tree9682a32b7feb2f6ac7429f01bcca6ac77327a8d3 /lib/syncthing/st.go
parent7adfd21a66846ebb907bdcfd411e00670d70fa06 (diff)
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 <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/syncthing/st.go')
-rw-r--r--lib/syncthing/st.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go
index ac1e99d..c4b72c5 100644
--- a/lib/syncthing/st.go
+++ b/lib/syncthing/st.go
@@ -278,7 +278,7 @@ func (s *SyncThing) Start() (*exec.Cmd, error) {
*/
s.STCmd, err = s.startProc("syncthing", args, env, &s.exitSTChan)
- // Use autogenerated apikey if not set by config.json
+ // Use autogenerated apikey if not set by agent-config.json
if err == nil && s.APIKey == "" {
if fd, err := os.Open(filepath.Join(s.Home, "config.xml")); err == nil {
defer fd.Close()