piler.conf precedence and location.

Issue #482 resolved
eXtremeSHOK created an issue

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)

  1. Janos SUTO repo owner

    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.

  2. Janos SUTO 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.

  3. Log in to comment