#####################################################################
# gridftp-dsi-posix plugin for setting environment in globus-gridftp-server
#
# DO NOT EDIT THIS FILE!  It will be overwritten on upgrades.
# Instead, defaults may be overridden in /etc/sysconfig/gridftp-dsi-posix
#####################################################################

#############################################
# gridftp-dsi-posix module support
#############################################
# Note: This defines the path of the posix preload mount and
# which xrootd server it points.
# NOTE:  local_path is where the access via this node (ie GridFTP)
# will be from.  remote_path refers to the path on the XRootD node.
# Uncommenting this will set the XrootD location
export XROOTD_VMP="redirector_node:1094:/local_path=/remote_path"

# Uncommenting these will enable xrootd posix preload support
# Set XROOTDLIB to /usr/lib64 for 64 bit architectures
# and /usr/lib for 32 bit architectures.
export XROOTDLIB=/usr/lib64
export LD_PRELOAD=$XROOTDLIB/libXrdPosixPreload.so
export conf=/etc/gridftp-dsi-posix/gridftp-xrootd.conf

if [ -e /etc/sysconfig/gridftp-dsi-posix ]; then
    . /etc/sysconfig/gridftp-dsi-posix
fi
