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:23 -0800
commit5a131d66a26baa247ed9fc9acc7f4dc1ea6c1027 (patch)
tree70b5eb07df948d246bf90b84726610e41ac26d94 /extras
parent957bcfd1242c15925272cb5e3bb0650bb29f7c89 (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 f53de8f..2f5009e 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"