From: František Dvořák Date: Thu, 15 Jan 2009 13:09:37 +0000 (+0000) Subject: Purge throttle: get and use purge target runtime in the purger script called by cron. X-Git-Tag: glite-lb_R_1_99_0_0~9 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=e9aa7fc97d0b779cc65de942a83c548844f0f4f3;p=jra1mw.git Purge throttle: get and use purge target runtime in the purger script called by cron. --- diff --git a/org.glite.lb.client/src/export.sh b/org.glite.lb.client/src/export.sh index 9ec130d..ede74c6 100644 --- a/org.glite.lb.client/src/export.sh +++ b/org.glite.lb.client/src/export.sh @@ -57,6 +57,9 @@ if [ x"$GLITE_LB_EXPORT_ENABLED" = x"true" -o -d "$GLITE_LB_EXPORT_PURGEDIR_KEE then GLITE_LB_EXPORT_PURGE_ARGS="$GLITE_LB_EXPORT_PURGE_ARGS -s" fi +if [ ! -z "$GLITE_LB_PURGE_TARGET_RUNTIME" ]; then + GLITE_LB_EXPORT_PURGE_ARGS="$GLITE_LB_EXPORT_PURGE_ARGS --target-runtime $GLITE_LB_PURGE_TARGET_RUNTIME" +fi if [ x"$GLITE_LB_PURGE_ENABLED" = x"true" ]; then X509_USER_CERT="$X509_USER_CERT" X509_USER_KEY="$X509_USER_KEY" $PREFIX/bin/glite-lb-purge $GLITE_LB_EXPORT_PURGE_ARGS -l -m $GLITE_LB_EXPORT_BKSERVER $GLITE_LB_PURGE_OTHER_OPTIONS