summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMeghana M <mmadhusu@redhat.com>2015-06-26 11:27:18 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-06-27 02:58:11 -0700
commite2cd9baabaf0ddd3b709e4fd2a9391a66b50422a (patch)
tree245f5eb99bb8f7ec89b0b69d9711483287016316 /extras
parent0cde678bd1b77839339a6b3fd6947ef99531c450 (diff)
NFS-Ganesha : Automatically export volume after volume restart
The export file was not getting created in the correct path. Fixing the path in this patch. This is the backport of the fix merged on master, http://review.gluster.org/#/c/11432/ Change-Id: I812f9d97252ee83a239f05ad683d2d727f3f5f59 BUG: 1232335 Signed-off-by: meghana <mmadhusu@redhat.com> Reviewed-on: http://review.gluster.org/11435 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: soumya k <skoduri@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'extras')
-rwxr-xr-xextras/hook-scripts/start/post/S31ganesha-start.sh2
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 7ba8af1e6e4..dc3eaeaaa9f 100755
--- a/extras/hook-scripts/start/post/S31ganesha-start.sh
+++ b/extras/hook-scripts/start/post/S31ganesha-start.sh
@@ -105,7 +105,7 @@ function start_ganesha()
cut -d"=" -f2)
if [ "$ganesha_value" = "on" ]
then
- write_conf $VOL
+ write_conf $VOL > $GANESHA_DIR/exports/export.$VOL.conf
start_ganesha $VOL
else
exit 0