Revision 2e7ec527c98e5edfe38d1a86d302b061a59c065f authored by Pere Mato on 10 January 2015, 17:56:17 UTC, committed by Pere Mato on 10 January 2015, 17:56:17 UTC
1 parent b77a067
Raw File
xproofd.in
#!/bin/sh

#
# $Id$
#
# Template for the xproofd wrapper script.
# The xproofd wrapper script is used uniformy the interface to xproofd after the modifications
# occured in XRootD version 4, when export for the XRootD main has been suppressed and the 
# possibility to load a different default protocol in 'xrootd' added.
#
# The wrapper runs xrootd prepending to the standard xrootd commands the switches
#                    '-P xproofd -L <path>/libXrdProofd'
#

XRDEXEC=`which xrootd`
if [ "x$XRDEXEC" != "x" ]; then
   $XRDEXEC -P xproofd -p 1093 -L @libdir@/libXrdProofd.so "$@"
else
   echo "xrootd not found!"
   exit 1
fi

exit 0
back to top