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>
This commit is contained in:
parent
14cf2bbe77
commit
257668d97e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user