]> git.pld-linux.org Git - packages/squid.git/blobdiff - squid.logrotate
- updated BRs
[packages/squid.git] / squid.logrotate
index 4c9d8c1ece1cafcec8fb3f5533cdea4af8aa4a47..cd2f8bf8af71b4b992a2be6697b38cf245e71510 100644 (file)
@@ -1,11 +1,24 @@
-/var/log/squid/[asc]*.log {
-       olddir /var/log/archiv/squid
-       weekly
-       rotate 4
+/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/sbin/squid -k rotate
        endscript
+       sharedscripts
+}
+
+/var/log/squid/[sc]*.log {
+       su root squid
+       olddir /var/log/archive/squid
+       compress
+       create 660 root squid
+       postrotate
+               # signal Squid to restart logging with the new files
+               /usr/sbin/squid -k rotate
+       endscript
+       sharedscripts
 }
This page took 0.058921 seconds and 4 git commands to generate.