code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # Simple configure script to fit with the xrd-installer system. # # by Dario Berzano <dario.berzano@gmail.com> # # # Globals # export MAKEOUT="`dirname $0`/Makefile.vars" # # Functions # # Determine which configuration method is being called function Main() { if [ "$#" == 1 ] && [ "${1:0:2}" != "--...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@cern.ch> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" expor...
Shell
#!/bin/bash # # configure -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Configure script that uses CMake to allow the building of afdsmgrd. This # script is designed to: # # - run as a standalone script called by the user for a custom build ...
Shell
#!/bin/bash # # MakePar.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Utility to create PARFiles out of directories. It launches a tar gzip command # using an option to exclute versioning control files from being included in the # archive....
Shell
#!/bin/bash # # MakePar.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Utility to create PARFiles out of directories. It launches a tar gzip command # using an option to exclute versioning control files from being included in the # archive....
Shell
#!/bin/sh
Shell
#!/bin/sh
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@cern.ch> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" expor...
Shell
#!/bin/bash # # afmss -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # MSS interface between xrootd and AliEn. # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. ...
Shell
#!/bin/bash # # aflib -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Library functions for the MSS interface between xrootd and AliEn. # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # ...
Shell
#!/bin/bash # # afrenewauth -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Continuously renews the AliEn authentication token and Grid proxy. # # Usage: # # afrenewauth \ # [-p <pidfile>] \ # [-l <logfile>] \ # [-s <check_renew_e...
Shell
#!/bin/bash # # afverifier-xrd-locate.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd locateall command, see macros/Verify.C for info on output. # # Get the configuration variables from the first configuration file found ...
Shell
#!/bin/bash # # afdsmgr -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper to interactively launch afdsmgrd, the dataset stager daemon. Options # normally read from a config file are passed as command-line parameters # instead. # # Many in...
Shell
#!/bin/bash # # afverify-xrd-rm.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd rm command. Outputs OK on success, FAIL if for some reason # the command can not be launched or terminated abruptly. # # Get the configuratio...
Shell
#!/bin/bash # # aflib -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Library functions for the MSS interface between xrootd and AliEn. # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # ...
Shell
#!/bin/bash # # afmss -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # MSS interface between xrootd and AliEn. # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. ...
Shell
#!/bin/bash # # afverifier -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around executable afverifier.real to set some environment variables # (like ROOT ones, or xrootd's). Variables are taken from afdsmgrd startup conf # file. # # ...
Shell
#!/bin/bash # # afdsiperm.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Bash script that relies on inotify to "fix" permissions of the dataset # repository recursively. It has been created to allow afdsmgrd to run as an # unprivileged user...
Shell
#!/bin/bash # # afdsmgrd-root.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script uses the same environment variables defined in sysconfig file of # afdsmgrd to set the environment for ROOT and launch it with the given # parameters. ...
Shell
#!/bin/bash # # afauthtest -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Authentication test: prints the status of proxy and token. # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 in...
Shell
#!/bin/bash # # afdsmgrd-xrd-stage-verify.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script uses the same environment variables defined in sysconfig file of # afdsmgrd to set the environment for ROOT and launch it with the given # ...
Shell
#!/bin/bash # # afxfr -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Transfer files using AliEn to the destination pool. # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is writt...
Shell
#!/bin/bash # # afdsmgr -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper to interactively launch afdsmgrd, the dataset stager daemon. Options # normally read from a config file are passed as command-line parameters # instead. # # Many in...
Shell
#!/bin/bash # # afdsmgrd-root.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script uses the same environment variables defined in sysconfig file of # afdsmgrd to set the environment for ROOT and launch it with the given # parameters. ...
Shell
#!/bin/bash # # afdsmgrd-xrd-stage-verify.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script uses the same environment variables defined in sysconfig file of # afdsmgrd to set the environment for ROOT and launch it with the given # ...
Shell
#!/bin/bash # # afauthtest -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Authentication test: prints the status of proxy and token. # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 in...
Shell
#!/bin/bash # # afverifier -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around executable afverifier.real to set some environment variables # (like ROOT ones, or xrootd's). Variables are taken from afdsmgrd startup conf # file. # # ...
Shell
#!/bin/bash # # afverify-xrd-rm.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd rm command. Outputs OK on success, FAIL if for some reason # the command can not be launched or terminated abruptly. # # Get the configuratio...
Shell
#!/bin/bash # # afxfr -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Transfer files using AliEn to the destination pool. # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is writt...
Shell
#!/bin/bash # # afverifier-xrd-locate.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd locateall command, see macros/Verify.C for info on output. # # Get the configuration variables from the first configuration file found ...
Shell
#!/bin/bash # # afdsiperm.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Bash script that relies on inotify to "fix" permissions of the dataset # repository recursively. It has been created to allow afdsmgrd to run as an # unprivileged user...
Shell
#!/bin/bash # # afrenewauth -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Continuously renews the AliEn authentication token and Grid proxy. # # Usage: # # afrenewauth \ # [-p <pidfile>] \ # [-l <logfile>] \ # [-s <check_renew_e...
Shell
#!/bin/bash # # init.d/afdsmgrd -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. It can also be run by an unprivileged # user and wi...
Shell
#!/bin/bash # # init.d/afrenewauthd -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Start (daemonize) and stop the afrenewauth utility for AliEn. # # This script is conform to the LSB specifications and it is compatible with # the chkconfig cus...
Shell
#!/bin/bash # # init.d/afdsmgrd -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. It can also be run by an unprivileged # user and wi...
Shell
#!/bin/bash # # init.d/afrenewauthd -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Start (daemonize) and stop the afrenewauth utility for AliEn. # # This script is conform to the LSB specifications and it is compatible with # the chkconfig cus...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # Configure script that uses CMake to allow the building of afdsmgrd. This # script is designed both to run as a standalone and to fit within the # xrd-installer system # # by Dario Berzano <dario.berzano@gmail.com> # # # Globals # export PREFIX="/usr/local" export ROOTSYS export APMON_PREFIX export AP...
Shell
#!/bin/bash if [ "$1" == "" ]; then echo "Do: $0 <dirname>" exit 1 fi tar czf "`basename $1`.par" "$1"
Shell
#!/bin/bash if [ "$1" == "" ]; then echo "Do: $0 <dirname>" exit 1 fi tar czf "`basename $1`.par" "$1"
Shell
#!/bin/sh
Shell
#!/bin/sh
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # Configure script that uses CMake to allow the building of afdsmgrd. This # script is designed both to run as a standalone and to fit within the # xrd-installer system # # by Dario Berzano <dario.berzano@gmail.com> # # # Globals # export PREFIX="/usr/local" export ROOTSYS export APMON_PREFIX export AP...
Shell
#!/bin/bash if [ "$1" == "" ]; then echo "Do: $0 <dirname>" exit 1 fi tar czf "`basename $1`.par" "$1"
Shell
#!/bin/bash if [ "$1" == "" ]; then echo "Do: $0 <dirname>" exit 1 fi tar czf "`basename $1`.par" "$1"
Shell
#!/bin/sh
Shell
#!/bin/sh
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@gmail.com> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" exp...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # Library functions for the MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # by the main program in order to be caught. # # - 10 : timeout for alien-token-ini...
Shell
#!/bin/bash # # MSS interface between xrootd and AliEn. # # by Dario Berzano <dario.berzano@gmail.com> # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. # # Load library functions source `dirname $0`/aflib # Debug line, can be remove...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/bash # # Authentication test: prints the status of proxy and token. # # by Dario Berzano <dario.berzano@gmail.com> # # Load library functions source `dirname $0`/aflib # Debug line, can be removed... #echo "[`Datime`] $0 invoked with args: $@" >> /home/xrd/scratch/afmss.log # The main function function Main(...
Shell
#!/bin/bash # # Transfer files using AliEn to the destination pool. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is intended to be run by another daemon, of which it inherits the # full environment. However, it is written to be self-contained, so there's no # need to have a particular environment to ...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/sh # # Start and stop the afdsmgrd daemon. # # by Dario Berzano <dario.berzano@gmail.com> # # This script is conform to the LSB specifications and it is compatible with # the chkconfig custom header format. # # # chkconfig header # # chkconfig: 2345 99 0 # description: afdsmgrd, which stands for Analysis Faci...
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@cern.ch> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" expor...
Shell
#!/bin/bash # # configure -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Configure script that uses CMake to allow the building of afdsmgrd. This # script is designed to: # # - run as a standalone script called by the user for a custom build ...
Shell
#!/bin/bash # # MakePar.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Utility to create PARFiles out of directories. It launches a tar gzip command # using an option to exclute versioning control files from being included in the # archive....
Shell
#!/bin/bash # # MakePar.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Utility to create PARFiles out of directories. It launches a tar gzip command # using an option to exclute versioning control files from being included in the # archive....
Shell
#!/bin/sh
Shell
#!/bin/sh
Shell
#!/bin/bash # # Used to make a SVN "tag" and the corresponding package, and to finally upload # it. # # by Dario Berzano <dario.berzano@cern.ch> # # THIS IS NOT MEANT TO BE USED BY THE USER!!! # export TRUNKURL="https://afdsmgrd.googlecode.com/svn/trunk" export TAGSURL="https://afdsmgrd.googlecode.com/svn/tags" expor...
Shell
#!/bin/bash # # afmss -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # MSS interface between xrootd and AliEn. # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. ...
Shell
#!/bin/bash # # aflib -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Library functions for the MSS interface between xrootd and AliEn. # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # ...
Shell
#!/bin/bash # # afrenewauth -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Continuously renews the AliEn authentication token and Grid proxy. # # Usage: # # afrenewauth \ # [-p <pidfile>] \ # [-l <logfile>] \ # [-s <check_renew_e...
Shell
#!/bin/bash # # afverify-xrd-locate.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd locateall command, see macros/Verify.C for info on output. # # Get the configuration variables from the first configuration file found de...
Shell
#!/bin/bash # # afverify-xrd-rm.sh -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around xrd rm command. Outputs OK on success, FAIL if for some reason # the command can not be launched or terminated abruptly. # # Get the configuratio...
Shell
#!/bin/bash # # aflib -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Library functions for the MSS interface between xrootd and AliEn. # # === EXIT CODES === # # These are the return values of some functions that must be passed to the shell # ...
Shell
#!/bin/bash # # afmss -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # MSS interface between xrootd and AliEn. # # === EXIT CODES === # # The return value is unimportant because xrootd needs the number to be echoed, # and not properly returned. ...
Shell
#!/bin/bash # # afverifier -- by Dario Berzano <dario.berzano@cern.ch> # # This file is part of afdsmgrd -- see http://code.google.com/p/afdsmgrd # # Wrapper around executable afverifier.real to set some environment variables # (like ROOT ones, or xrootd's). Variables are taken from afdsmgrd startup conf # file. # # ...
Shell