From e2cd9baabaf0ddd3b709e4fd2a9391a66b50422a Mon Sep 17 00:00:00 2001 From: Meghana M Date: Fri, 26 Jun 2015 11:27:18 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11435 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: soumya k Reviewed-by: Kaleb KEITHLEY --- extras/hook-scripts/start/post/S31ganesha-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') 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 -- cgit