mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
42e1e1fc6f
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
14 lines
360 B
Text
14 lines
360 B
Text
/var/log/clamav/*.log {
|
|
su clamav clamav
|
|
weekly
|
|
rotate 5
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
missingok
|
|
create 0660 clamav clamav
|
|
postrotate
|
|
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
|
|
/bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2>/dev/null` 2>/dev/null || true
|
|
endscript
|
|
}
|