File: logrotate

package info (click to toggle)
privoxy 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,284 kB
  • sloc: ansic: 33,407; perl: 4,768; sh: 3,912; makefile: 145; awk: 18; xml: 14
file content (17 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/var/log/privoxy/logfile /var/log/privoxy/jarfile /var/log/privoxy/errorfile {
	create 0640 privoxy adm
	missingok
	weekly
	rotate 7
	compress
	sharedscripts
	postrotate
	        if which invoke-rc.d >/dev/null 2>&1; then
        	        invoke-rc.d privoxy rotate > /dev/null
	        else
			if [ -f /run/privoxy.pid ]; then
	        	        /etc/init.d/privoxy rotate > /dev/null
			fi
	        fi
	endscript
}