summaryrefslogtreecommitdiff
path: root/libre/clamav/logrotate
blob: 5f6d87d29a6e5a7628fe76119809da4395806348 (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/clamav/clamd.log /var/log/clamav/freshclam.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
	endscript
}