smeserver-clamav/root/etc/dnf/plugins/post-transaction-actions.d/clamd.action

8 lines
341 B
Plaintext
Raw Permalink Normal View History

#action to avoid freshclam from cron
clamav-update:any:/usr/bin/rm -f /etc/cron.d/clamav-update
#old freshclam
clam*:any:/usr/bin/rm -f /etc/cron.daily/freshclam
#avoid config not needed
clamav-filesystem:any:/sbin/e-smith/expand-template /etc/clamd.d/scan.conf
clamav-update:any:/sbin/e-smith/expand-template /etc/logrotate.d/clamav-update