Add additional supported automatic config file paths
Opened this issue · 0 comments
atc0005 commented
In addition to the locations specified in the README:
Lines 256 to 268 in bc36216
Add these locations to the list of locations automatically used if found:
/etc/dnsc/config.toml
/etc/dnsc.toml
/usr/local/etc/dnsc/config.toml
/usr/local/etc/dnsc.toml
In terms of priority they would be checked after $HOME/.config/dnsc/config.toml
. This would allow a per-user override, but with fallback to a general path.
I should double-check to see whether there is a precedent of using an app-specific etc
subdirectory path over a loose file in etc
, or if it is the other way around.