From: František Dvořák Date: Tue, 3 May 2011 13:33:33 +0000 (+0000) Subject: Make directory with the logs writable (automatic purge runs under glite user). X-Git-Tag: merge_2_1_to_3_0_dst~14 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b0a29e63ae68b9e938d7fb6399fcbd5637e49d38;p=jra1mw.git Make directory with the logs writable (automatic purge runs under glite user). --- 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; '