From 43021782ae5ca3a2806821ca17debe2f7a2b5951 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 31 Mar 2011 23:33:57 +0000 Subject: [PATCH] Fix the automatic purge launching in cron. --- org.glite.lb.yaim/config/functions/config_glite_lb.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.yaim/config/functions/config_glite_lb.in b/org.glite.lb.yaim/config/functions/config_glite_lb.in index 74122d9..3c717a4 100644 --- a/org.glite.lb.yaim/config/functions/config_glite_lb.in +++ b/org.glite.lb.yaim/config/functions/config_glite_lb.in @@ -326,7 +326,7 @@ EOF HOME=/ MAILTO=$SITE_EMAIL -1 1 * * * $GLITE_USER . $GLITE_LOCATION/etc/profile.d/grid-env.sh ; export GLITE_LB_EXPORT_BKSERVER=$HOSTNAME; $purge_target_runtime_cmd/opt/glite/sbin/glite-lb-export.sh >> $logfile 2>&1 +1 1 * * * $GLITE_USER . @glite_etc@/profile.d/grid-env.sh ; export GLITE_LB_EXPORT_BKSERVER=$HOSTNAME; $purge_target_runtime_cmd/opt/glite/sbin/glite-lb-export.sh >> $logfile 2>&1 EOF touch $logfile @@ -384,8 +384,7 @@ EOF echo $HOSTNAME > ${GLITE_LB_LOCATION_ETC}/glite-lb/glite-lb-harvester.conf fi - . /opt/glite/yaim/etc/grid-env-funcs.sh - . ${GRID_ENV_LOCATION}/grid-env.sh + . @glite_etc@/profile.d/grid-env.sh ${GLITE_LB_LOCATION_ETC}/init.d/glite-lb-bkserverd restart if [ ! $? = 0 ] ; then -- 1.8.2.3