Skip to content
Snippets Groups Projects
Commit 5840c036 authored by Christoph Heidecker's avatar Christoph Heidecker Committed by root
Browse files

Changed to repo installation

parent b63e135b
Branches
No related tags found
No related merge requests found
......@@ -16,11 +16,11 @@ LOGDIR=/var/log/XRootD
PIDFILE=/var/run/xrootd.pid
# Adding libraries to enironment variable
export LD_LIBRARY_PATH=$XRD_PATH/xrd-install/lib64:$LD_LIBRARY_PATH
export PATH=$XRD_PATH/xrd-install/bin:$PATH
#export LD_LIBRARY_PATH=$XRD_PATH/xrd-install/lib64:$LD_LIBRARY_PATH
#export PATH=$XRD_PATH/xrd-install/bin:$PATH
# Starting command for XRootD services
COMMAND="su xrootd -c 'xrootd -c $XRD_PATH/configs/proxy-manager.cf -l $LOGDIR/proxy-manager/xrootd.log -k 100m & ; cmsd -c $XRD_PATH/configs/proxy-manager.cf -l /logs/proxy-manager/cmsd.log -k 100m &'"
COMMAND='xrootd -c $XRD_PATH/configs/proxy-manager.cf -l $LOGDIR/proxy-manager/xrootd.log -k 100m & ; cmsd -c $XRD_PATH/configs/proxy-manager.cf -l /logs/proxy-manager/cmsd.log -k 100m &'
# Check for running service processes
if [ -f $PIDFILE ]
......
......@@ -4,6 +4,7 @@ After=syslog.target network.target
Wants=network.target
[Service]
User=xrootd
Type=simple
RemainAfterExit=yes
ExecStart=/bin/sh /opt/XRootD/systemd/xrootd-daemon.sh start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment