slackbuilds_ponce/system/clamav/logrotate.clamav
ponce 8dc7eb1c91 system/clamav: Added a "su" option to the logrotate script
This is needed for the new logrotate 3.8.x

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-21 16:23:41 -05:00

12 lines
243 B
Text

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