mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-11 20:43:51 +02:00
8dc7eb1c91
This is needed for the new logrotate 3.8.x Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
12 lines
243 B
Text
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
|
|
}
|