]> git.pld-linux.org Git - packages/squid.git/blame - squid.logrotate
- s|/var/log/archiv|/var/log/archive|g
[packages/squid.git] / squid.logrotate
CommitLineData
2f81d113 1/var/log/squid/access*.log {
dc36353d 2 olddir /var/log/archive/squid
4fcb994a 3 weekly
4 rotate 4
2f81d113 5# dateext
4fcb994a 6 compress
6dde8a27 7 create 660 root squid
913a1c4a 8 postrotate
9 # signal Squid to restart logging with the new files
87e10344 10 /usr/sbin/squid -k rotate
913a1c4a 11 endscript
2f81d113
ER
12 sharedscripts
13}
14
15/var/log/squid/[sc]*.log {
dc36353d 16 olddir /var/log/archive/squid
2f81d113
ER
17 weekly
18 rotate 4
19 compress
20 create 660 root squid
21 postrotate
22 # signal Squid to restart logging with the new files
23 /usr/sbin/squid -k rotate
24 endscript
25 sharedscripts
913a1c4a 26}
This page took 0.03099 seconds and 4 git commands to generate.