booster: Use CONFDIR as booster.conf default location

This commit changes the default location of the booster.conf
file from /etc/booster.conf to a directory defined
during the build process.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
Shehjar Tikoo 2009-05-05 20:45:48 +05:30 committed by Anand V. Avati
parent faef6fded8
commit 8d1b62393b

View File

@ -232,7 +232,7 @@ booster_get_process_fd ()
return real_dup (process_piped_fd);
}
#define DEFAULT_BOOSTER_CONF "/etc/booster.conf"
#define DEFAULT_BOOSTER_CONF CONFDIR"/booster.conf"
#define BOOSTER_CONF_ENV_VAR "GLUSTERFS_BOOSTER_CONF"
int