desktop/clamav/clamav.logrotate

10 lines
330 B
Plaintext
Raw Normal View History

2011-01-13 20:08:04 +08:00
/var/log/clamav/clamd.log /var/log/clamav/freshclam.log {
create 644 clamav clamav
sharedscripts
2014-07-16 02:23:29 +08:00
missingok
2011-01-13 20:08:04 +08:00
postrotate
2014-07-16 02:23:29 +08:00
/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
2011-01-13 20:08:04 +08:00
endscript
}