]> git.pld-linux.org Git - packages/squid.git/blob - squid.logrotate
- no files should be owned by squid user
[packages/squid.git] / squid.logrotate
1 /var/log/squid/access.log {
2         olddir /var/log/archiv/squid
3         daily
4         rotate 7
5         compress
6         create 660 root squid
7         postrotate
8                 # signal Squid to restart logging with the new files
9                 /usr/bin/killall -USR1 squid
10         endscript
11 }
12
13 /var/log/squid/[sc]*.log {
14         olddir /var/log/archiv/squid
15         weekly
16         rotate 4
17         compress
18         create 660 root squid
19         postrotate
20                 # signal Squid to restart logging with the new files
21                 /usr/bin/killall -USR1 squid
22         endscript
23 }
This page took 0.079234 seconds and 4 git commands to generate.