Rework search directories for agent-config.json files.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 19 Sep 2017 08:25:55 +0000 (10:25 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 19 Sep 2017 08:25:55 +0000 (10:25 +0200)
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


No differences found