diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-11 11:05:55 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-11 15:46:53 +0100 |
commit | 57bdfc8349b3c8a727d6f439e1fd12661bc00a15 (patch) | |
tree | 9682a32b7feb2f6ac7429f01bcca6ac77327a8d3 /lib/syncthing | |
parent | 7adfd21a66846ebb907bdcfd411e00670d70fa06 (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')
-rw-r--r-- | lib/syncthing/st.go | 2 |
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() |