clamav/clamd.logrotate

10 lines
180 B
Plaintext
Raw Normal View History

2019-12-14 21:13:51 +08:00
/var/log/clamd.<SERVICE> {
monthly
notifempty
missingok
postrotate
pkill -u <USER> -HUP -f '/usr/sbin/clamd -c /etc/clamd.d/<SERVICE>.conf >/dev/null 2>&1 || :
endscript
}