]> git.pld-linux.org Git - packages/squid.git/blob - squid.logrotate
- up to 4.2
[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 #               /bin/killall digest_pw_auth 2>/dev/null || :
23         endscript
24         sharedscripts
25 }
This page took 0.023766 seconds and 3 git commands to generate.