Skip to content
Snippets Groups Projects
Commit 8cb3a2af authored by Michael Davis's avatar Michael Davis
Browse files

[EOS-CTA] Adds SSI libs to shared object

parent 326ccc3f
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
xrootd -c xrd.ssi.conf
# Tell XRootD to use only the SSI framework. If you wish to
# also use the filesystem features of XRootD then add the
# keyword default (i.e. xrootd.fslib libXrdSsi.so default).
xrootd.fslib libXrdSsi.so default
# Turn off async processing as this does not work with SSI
xrootd.async off
# Declare the valid prefix for resource names. You can have
# as many of these directives as you wish, each specifying a
# different prefix.
#
# Allow arbitrary resource names. The question mark makes
# XRootD scan for ? and split the resource into a name and a
# CGI string.
all.export / nolock r/w
# Specify the resource lookup function to be used.
#oss.statlib -2 libXrdSsi.so
# Specify the location of the shared library implementing
# you SSI service. See the SSI svclib directive for details.
ssi.svclib /home/mdavis/CTA/frontend/frontend_ssi.so
xrd.allow host localhost
xrd.port 10400
......@@ -32,7 +32,7 @@ set_target_properties(XrdCtaOfs PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
# XRootD SSI/CTA Frontend shared library
include_directories(../xroot_ssi_pb)
add_library(XrdSsiCta MODULE XrdSsiCtaServiceProvider.cpp XrdSsiCtaRequestProc.cpp)
target_link_libraries(XrdSsiCta ctaeosmessages ${PROTOBUF3_LIBRARIES})
target_link_libraries(XrdSsiCta ctaeosmessages ${PROTOBUF3_LIBRARIES} XrdSsi-4 XrdSsiLib)
set_target_properties(XrdSsiCta PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
INSTALL (TARGETS XrdCtaOfs DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment