diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-11 11:09:35 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-11 15:49:30 +0100 |
commit | 963931e04d44a5b40d38817163f52f56241a9f33 (patch) | |
tree | 986841498f9c998549ee175c240713709e32510a /lib/syncthing | |
parent | e9fa58ca8a03f03e6022955fd4934e6fda5876ee (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/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 2db4699..a52e1fe 100644 --- a/lib/syncthing/st.go +++ b/lib/syncthing/st.go @@ -249,7 +249,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 server-config.json if err == nil && s.APIKey == "" { if fd, err := os.Open(filepath.Join(s.Home, "config.xml")); err == nil { defer fd.Close() |