File: nginx.logrotate

package info (click to toggle)
nginx 0.4.13-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,164 kB
  • ctags: 4,656
  • sloc: ansic: 55,817; sh: 164; perl: 86; makefile: 61; asm: 48
file content (13 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/nginx/*.log {
	daily
	missingok
	rotate 52
	compress
	delaycompress
	notifempty
	create 640 root adm
	sharedscripts
	postrotate
		[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
	endscript
}