summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-05 20:45:48 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-06 12:36:19 +0530
commit8d1b62393b58ff3ac5b157e0adea15578c949bbf (patch)
tree9328c30cfc19a99caec6d1e1310cdc6ca82a6fcc /booster
parentfaef6fded892c310a3debdce273a382286a4ec19 (diff)
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>
Diffstat (limited to 'booster')
-rw-r--r--booster/src/booster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c
index 9e5f15ead89..bcff9db08ec 100644
--- a/booster/src/booster.c
+++ b/booster/src/booster.c
@@ -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