desktop/clamav/clamav.logrotate
Chaoting Liu 9d3810a136 clamav: update to 0.99.3, more systemd-fied
- include sysusers file
- refresh tmpfiles file
- refresh logrotate file
2018-01-28 06:18:10 +00:00

12 lines
430 B
Plaintext

/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
}