Standardized XDS config file name and location.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 11 Dec 2017 10:09:35 +0000 (11:09 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 11 Dec 2017 14:49:30 +0000 (15:49 +0100)
commit963931e04d44a5b40d38817163f52f56241a9f33
tree986841498f9c998549ee175c240713709e32510a
parente9fa58ca8a03f03e6022955fd4934e6fda5876ee
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>
12 files changed:
Makefile
conf.d/etc/default/xds-server
conf.d/etc/xds/server/server-config.json [moved from conf.d/etc/xds-server/config.json with 61% similarity]
conf.d/usr/lib/systemd/user/xds-server.service
config.json.in [deleted file]
lib/syncthing/st.go
lib/xdsconfig/config.go
lib/xdsconfig/fileconfig.go
lib/xdsserver/apiv1-exec.go
lib/xdsserver/xdsserver.go
scripts/xds-utils/xds-server-start.sh [moved from scripts/xds-server-start.sh with 100% similarity]
scripts/xds-utils/xds-server-stop.sh [moved from scripts/xds-server-stop.sh with 100% similarity]