X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=squid.logrotate;h=ea84348f75a40dba7084596c0f957933d968956d;hb=a24743573f262c97a875bf96f8ad82d2dd31ccc5;hp=8c15485aeef2520204cd88105cb509cc27bb6624;hpb=6dde8a27ab2729f10fe5d4bd31e52a69c3eaaed6;p=packages%2Fsquid.git diff --git a/squid.logrotate b/squid.logrotate index 8c15485..ea84348 100644 --- a/squid.logrotate +++ b/squid.logrotate @@ -1,23 +1,25 @@ -/var/log/squid/access.log { - olddir /var/log/archiv/squid - daily - rotate 7 +/var/log/squid/access*.log { + su root squid + olddir /var/log/archive/squid +# dateext compress create 660 root squid postrotate # signal Squid to restart logging with the new files - /usr/bin/killall -USR1 squid + /usr/sbin/squid -k rotate endscript + sharedscripts } /var/log/squid/[sc]*.log { - olddir /var/log/archiv/squid - weekly - rotate 4 + su root squid + olddir /var/log/archive/squid compress create 660 root squid postrotate # signal Squid to restart logging with the new files - /usr/bin/killall -USR1 squid + /usr/sbin/squid -k rotate +# /bin/killall digest_pw_auth 2>/dev/null || : endscript + sharedscripts }