]> git.pld-linux.org Git - packages/squid.git/blob - squid.logrotate
cd2f8bf8af71b4b992a2be6697b38cf245e71510
[packages/squid.git] / squid.logrotate
1 /var/log/squid/access*.log {
2         su root squid
3         olddir /var/log/archive/squid
4 #       dateext
5         compress
6         create 660 root squid
7         postrotate
8                 # signal Squid to restart logging with the new files
9                 /usr/sbin/squid -k rotate
10         endscript
11         sharedscripts
12 }
13
14 /var/log/squid/[sc]*.log {
15         su root squid
16         olddir /var/log/archive/squid
17         compress
18         create 660 root squid
19         postrotate
20                 # signal Squid to restart logging with the new files
21                 /usr/sbin/squid -k rotate
22         endscript
23         sharedscripts
24 }
This page took 0.054468 seconds and 2 git commands to generate.