piler.conf precedence and location.
Currently piler.conf is located : /usr/local/etc/piler.conf
does piler check multiple places for the config ? /etc/piler.conf /etc/piler/piler.conf
If it does, is there a precedence on which config would be used if there are configs in multiple locations..
eg. /usr/local/etc/piler.conf #default /etc/piler/piler.conf #superceeds /usr/local/etc/piler.conf /etc/piler.conf #superceeds /etc/piler/piler.conf
Ideal would be to have the piler to support the config located in either : /etc/piler.conf (redhat style) and/or /etc/piler/piler.conf (debian style) as well as the current /usr/local/etc/ (piler default)
Pretty much piler would first check for /etc/piler.conf, then /etc/piler/piler.conf and lastly /usr/local/etc/piler.conf
Comments (4)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner An addition: of course you may use the -c option for the Piler daemon to use a different config file, other than was specified at compile time.
-
repo owner - changed status to resolved
I hope it makes sense, and you are ok with the response.
- Log in to comment
Piler supports a single piler.conf location, no searching for other config files. Note the path can be set by the configure options, see the --sysconfdir= option.