Repository navigation
Commit 165cbf7
authored
Add /etc configuration file for deamon installation, fixes stale README (#243)
fixes #242
Implemented /etc/sendspin/settings-daemon.json configuration file, to
make Sendspin deamon configuration easier for admins and fix the
incorrect stale info in the README.
* Installer creates /etc/sendspin/settings-daemon.json during
installation
* Settings class reads from this file and merges fields with
~/.config/sendspin/settings-daemon.json, where fields in the latter take
precedence over /etc/sendspin/settings-daemon.json
* Backwards compatible as existing
~/.config/sendspin/settings-daemon.json still work
* Only runtime changes are saved to config, so user preferences are
respected.
* README updated to reflect changes1 parent 82950dd commit 165cbf7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| |||
0 commit comments