]> git.pld-linux.org Git - packages/squid.git/blobdiff - squid.logrotate
- up to 4.7
[packages/squid.git] / squid.logrotate
index 8c15485aeef2520204cd88105cb509cc27bb6624..ea84348f75a40dba7084596c0f957933d968956d 100644 (file)
@@ -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
 }
This page took 0.048573 seconds and 4 git commands to generate.