summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-10-17Add xds-agent user systemd service file and installSebastien Douheret1-17/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-16Update default syncthing port to 8386Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-19Rework search directories for agent-config.json files.Sebastien Douheret1-6/+13
Here is the logic to determine which `agent-config.json` file will be used: 1. from command line option: `--config myConfig.json` 2. `$HOME/.xds/agent/agent-config.json` file 3. `/etc/xds-agent/agent-config.json` file 4. `<xds-agent executable dir>/agent-config.json` file
2017-09-18Fix default config values.Sebastien Douheret2-18/+23
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-18Improved syncthing binary path detection.Sebastien Douheret2-17/+21
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Fixed syncthing binDir when set to '.'0.1.0Sebastien Douheret1-2/+10
2017-08-30Set default xds-apikey when not set by config.Sebastien Douheret1-0/+6
2017-08-25Fixed xds-common version and use last oneSebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-25Reset option to allow synthing restartSebastien Douheret1-1/+0
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-26Use xds-common go library.Sebastien Douheret7-340/+5
2017-06-23Support $HOME on Windows host.Sebastien Douheret1-1/+9
2017-06-23Add workaround for Syncthing apikey setting.Sebastien Douheret1-1/+33
2017-05-23Add API KEY support to allow CORS requests.Sebastien Douheret3-14/+69
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-22Fix incorrect importSebastien Douheret1-1/+1
2017-05-18Added prints on startup.Sebastien Douheret1-0/+4
2017-05-18Fix ResolveEnvVar when path is not set.Sebastien Douheret1-1/+4
2017-05-18Fix ResolveEnvVar function and add support of tilde (~/...)Sebastien Douheret2-23/+44
2017-05-17Add logsDir setting and moreSebastien Douheret6-69/+177
- add logsDir setting in config.json - redirect Syncthing and Syncthing-inotify into log files - Use autogenerated Syncthing apikey if gui-apikey not set in config.json
2017-05-15Initial commit.Sebastien Douheret12-0/+1353
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>