From b0a29e63ae68b9e938d7fb6399fcbd5637e49d38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 3 May 2011 13:33:33 +0000 Subject: [PATCH] Make directory with the logs writable (automatic purge runs under glite user). --- org.glite.lb.yaim/config/functions/config_glite_lb.in | 1 + 1 file changed, 1 insertion(+) 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 d267f56..2b5c8da 100644 --- a/org.glite.lb.yaim/config/functions/config_glite_lb.in +++ b/org.glite.lb.yaim/config/functions/config_glite_lb.in @@ -304,6 +304,7 @@ EOF # Create cron for purging mkdir -p /var/log/glite + chown $GLITE_USER:$GLITE_USER /var/log/glite logfile=/var/log/glite/glite-lb-purger.log if $LB_PURGE --help 2>&1 | grep 'target-runtime' > /dev/null; then purge_target_runtime_cmd='export GLITE_LB_PURGE_TARGET_RUNTIME=84600s; ' -- 1.8.2.3