summarylogtreecommitdiffstats
path: root/clamav.logrotate
blob: d8564b64cf3969bb49b30af6bc459d9e1e09c23a (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/clamav/clamd.log /var/log/clamav/freshclam.log /var/log/clamav/clamav-milter.log {
	create 644 clamav clamav
	sharedscripts
	missingok
	notifempty
	postrotate
			/bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
			/bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
			/bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true
	endscript
}