summaryrefslogtreecommitdiffstats
path: root/main/clamav/clamav.logrotate
blob: 7574428413f39c7ca6b74139baf54492710f2f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/var/log/clamav/clamd.log {
	missingok
	postrotate
		/etc/init.d/clamd logfix
		/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2>/dev/null || true
	endscript
}

/var/log/clamav/freshclam.log {
	missingok
	postrotate
		/etc/init.d/freshclam logfix
		/bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2>/dev/null || true
	endscript
}