Closed catay closed 4 years ago
After looking more into the above I come to the conclusion it doesn't make sense.
Let's stick to a default config file location at /etc/rrst/config.yaml
.
If someone requires a different location , use the -c
option.
In the current implementation the default config location is
/etc/rrst.yaml
. This can be changed through the-c
option on the command line.This should be enhanced with a proper lookup order which is more in line with the standard behaviour of Linux tools.
The lookup order of the configuration file should be:
-c
optionRRST_CONFIG_FILE
${HOME}/.rrst/config.yaml
/etc/rrst/config.yaml