Commit 1966ac6
Use .local/state/syncthing (#17)
* Use .local/state/syncthing
If SYNCTHING_CONFIG_FILE is not set and default config not found, look
for config.xml in localstate directory:
SYNCTHING_DEFAULT_STATEDIR="$HOME/.local/state/syncthing"
At least in my environment (manjaro linux) this is where a working
config.xml is located by default.
* Make sure `SYNCTHING_CONFIG_FILE` is never empty
---------
Co-authored-by: Sergio Livi <me@serl.it>1 parent a1c778e commit 1966ac6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | | - | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments