summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPaul Rawson <plrca2@gmail.com>2009-11-17 00:13:24 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-19 03:23:19 -0800
commit83598e6015d76e2bebd0a3ad5141801a2864af1c (patch)
tree722b2c08701a2e30c4831b6bcda287082ff8d60c /extras
parent9503af54284e27104051cc7eafffd3f138c28851 (diff)
Fix Redhat init file so that it knows the correct binary location
Signed-off-by: Paul Rawson <plrca2@gmail.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 388 (Redhat initfile fix) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=388
Diffstat (limited to 'extras')
-rwxr-xr-xextras/init.d/glusterfsd-Redhat.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/init.d/glusterfsd-Redhat.in b/extras/init.d/glusterfsd-Redhat.in
index f53de8f2190..2f5009ef78f 100755
--- a/extras/init.d/glusterfsd-Redhat.in
+++ b/extras/init.d/glusterfsd-Redhat.in
@@ -8,7 +8,7 @@
. /etc/rc.d/init.d/functions
BASE=glusterfsd
-GLUSTERFSD_BIN=@prefix@/sbin/$BASE
+GLUSTERFSD_BIN=@exec_prefix@/sbin/$BASE
CONFIGFILE=/etc/glusterfs/glusterfsd.vol
GLUSTERFSD_OPTS="-f $CONFIGFILE"
GSERVER="$GLUSTERFSD_BIN $GLUSTERFSD_OPTS"