mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
config file order #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rprimet on GitHub (Feb 21, 2017).
Hi,
Should "more-specific" (local) config files (e.g. in SCRIPTDIR or PWD) take precedence over "less specific" ones (e.g. /etc/dehydrated)?
If so, a solution would be to change the search order in
load_config.@rprimet commented on GitHub (Feb 22, 2017):
(reopening this issue -- using the -f flag may be the best choice, but it seems that giving precedence to local over global files still deserves thinking about?)
@txr13 commented on GitHub (Feb 22, 2017):
I would want the script to explicitly prefer global defaults (if they exist) over whatever local configs may have been accidentally created. If I want to use a non-global config (without removing an existing global config), I can specify that.
@rprimet commented on GitHub (Feb 22, 2017):
OK, closing it for good then :)