HomeAssistantRepository/app-antivirus/clamav/files/clamav.logrotate

18 lines
391 B
Plaintext

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