Blob Blame History Raw
From fc8d62447f006bcbf9eef69f89d2bd92cfd29b10 Mon Sep 17 00:00:00 2001
From: Jiffin Tony Thottan <jthottan@redhat.com>
Date: Tue, 20 Sep 2016 12:50:55 +0530
Subject: [PATCH 137/141] ganesha/scripts : modify start hook script for shared storage changes

Upstream reference
>Change-Id: Ib8dfe41d06ae0756af8f1c110fc774ac16bdc581
>BUG: 1377607
>Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
>Reviewed-on: http://review.gluster.org/15535
>Smoke: Gluster Build System <jenkins@build.gluster.org>
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
>Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
>Reviewed-by: soumya k <skoduri@redhat.com>
>Reviewed-by: Niels de Vos <ndevos@redhat.com>
>Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
>(cherry picked from commit 7407266684334203c21e260bb0b3527ca94bb507)

Change-Id: Ib8dfe41d06ae0756af8f1c110fc774ac16bdc581
BUG: 1379966
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/86103
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
---
 extras/hook-scripts/start/post/S31ganesha-start.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/hook-scripts/start/post/S31ganesha-start.sh b/extras/hook-scripts/start/post/S31ganesha-start.sh
index b85c789..1b258cc 100755
--- a/extras/hook-scripts/start/post/S31ganesha-start.sh
+++ b/extras/hook-scripts/start/post/S31ganesha-start.sh
@@ -4,7 +4,7 @@ OPTSPEC="volname:,gd-workdir:"
 VOL=
 declare -i EXPORT_ID
 ganesha_key="ganesha.enable"
-GANESHA_DIR="/etc/ganesha"
+GANESHA_DIR="/var/run/gluster/shared_storage/nfs-ganesha"
 CONF1="$GANESHA_DIR/ganesha.conf"
 GLUSTERD_WORKDIR=
 
-- 
1.7.1