slackbuilds_ponce/system/clamav/logrotate.clamav
Matteo Bernardini 9818e85ad1 system/clamav: Updated for version 0.97.6 and removed bashisms.
Double su in the logrotate script

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-18 19:33:39 -05:00

12 lines
243 B
Text

/var/log/clamav/*.log {
su clamav clamav
weekly
rotate 5
compress
delaycompress
notifempty
missingok
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
endscript
}