summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts
diff options
context:
space:
mode:
authorMeghana M <mmadhusu@redhat.com>2015-06-26 11:27:18 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-06-26 18:27:23 -0700
commit257668d97e0fd3f290ac8415c60dfc11510cc786 (patch)
treed8cf70d13397f2c2979fc94d5cc2193d9d3b5df3 /extras/hook-scripts
parent14cf2bbe77fbbaee8ee3211ec841a4f1ef3a8380 (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. Change-Id: If624266e1a934514868affb712514881d10239dc BUG: 1231738 Signed-off-by: Meghana M <mmadhusu@redhat.com> Reviewed-on: http://review.gluster.org/11432 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'extras/hook-scripts')
-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