File: logrotate

package info (click to toggle)
iptraf 2.7.0-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,484 kB
  • ctags: 1,211
  • sloc: ansic: 12,154; makefile: 144; sh: 126; awk: 1
file content (12 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12

/var/log/iptraf/*.log {
	rotate 7
	daily
	compress
	missingok
	notifempty
	postrotate
		/usr/bin/killall -USR1 iptraf 2> /dev/null || :
	endscript
}