[Gluster-devel] [PATCH BRANCH:release-2.0 BUG:388] Fix Redhat init file so that it knows the correct binary location

Paul Rawson plrca2 at gmail.com
Tue Nov 17 05:43:24 UTC 2009


Signed-off-by: Paul Rawson <plrca2 at gmail.com>
---
 extras/init.d/glusterfsd-Redhat.in |    2 +-
 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"
--
1.6.4.4





More information about the Gluster-devel mailing list