diff options
Diffstat (limited to 'extras/init.d')
| -rwxr-xr-x | extras/init.d/glusterfsd-Debian.in (renamed from extras/init.d/glusterfsd-Debian) | 2 | ||||
| -rwxr-xr-x | extras/init.d/glusterfsd-Redhat.in (renamed from extras/init.d/glusterfsd-Redhat) | 5 | ||||
| -rwxr-xr-x | extras/init.d/glusterfsd-SuSE.in (renamed from extras/init.d/glusterfsd-SuSE) | 5 | 
3 files changed, 9 insertions, 3 deletions
diff --git a/extras/init.d/glusterfsd-Debian b/extras/init.d/glusterfsd-Debian.in index dcd3e0c50f1..a0c83d53569 100755 --- a/extras/init.d/glusterfsd-Debian +++ b/extras/init.d/glusterfsd-Debian.in @@ -15,7 +15,7 @@  PATH=/sbin:/usr/sbin:/bin:/usr/bin  NAME=glusterfsd  SCRIPTNAME=/etc/init.d/$NAME -DAEMON=/usr/sbin/$NAME +DAEMON=@prefix@/sbin/$NAME  PIDFILE=/var/run/$NAME.pid  CONFIGFILE=/etc/glusterfs/glusterfsd.vol  GLUSTERFS_OPTS="-f $CONFIGFILE" diff --git a/extras/init.d/glusterfsd-Redhat b/extras/init.d/glusterfsd-Redhat.in index 2577e9e7647..f53de8f2190 100755 --- a/extras/init.d/glusterfsd-Redhat +++ b/extras/init.d/glusterfsd-Redhat.in @@ -8,7 +8,10 @@  . /etc/rc.d/init.d/functions  BASE=glusterfsd -GSERVER="/usr/sbin/$BASE -f /etc/glusterfs/glusterfsd.vol" +GLUSTERFSD_BIN=@prefix@/sbin/$BASE +CONFIGFILE=/etc/glusterfs/glusterfsd.vol +GLUSTERFSD_OPTS="-f $CONFIGFILE" +GSERVER="$GLUSTERFSD_BIN $GLUSTERFSD_OPTS"  RETVAL=0  # Start the service $BASE diff --git a/extras/init.d/glusterfsd-SuSE b/extras/init.d/glusterfsd-SuSE.in index ede27b2b3c8..43552bb499c 100755 --- a/extras/init.d/glusterfsd-SuSE +++ b/extras/init.d/glusterfsd-SuSE.in @@ -15,7 +15,10 @@  . /etc/rc.status  BASE=glusterfsd -GSERVER="/usr/sbin/$BASE -f /etc/glusterfs/glusterfsd.vol" +GLUSTERFSD_BIN=@prefix@/sbin/$BASE +CONFIGFILE=/etc/glusterfs/glusterfsd.vol +GLUSTERFSD_OPTS="-f $CONFIGFILE" +GSERVER="$GLUSTERFSD_BIN $GLUSTERFSD_OPTS"  RETVAL=0  # Start the service $BASE  | 
