From 650c75a77d865e9e2b49744049d5b88d0b501431 Mon Sep 17 00:00:00 2001 From: Meghana M Date: Fri, 26 Jun 2015 11:27:18 +0530 Subject: [PATCH 176/190] 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 patch is merged upstream, http://review.gluster.org/#/c/11432/ Change-Id: I46e5d4219d7f302dfe4ff725e09fc0ae7a8a641d BUG: 1226863 Signed-off-by: Meghana Madhusudhan Reviewed-on: https://code.engineering.redhat.com/gerrit/51748 Reviewed-by: Soumya Koduri Tested-by: Soumya Koduri --- 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 7ba8af1..dc3eaea 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 -- 1.7.1