I have need to pass "--update-db=custom" to freshclam because my hosting provider is rate-limited in getting AV database updates and I want to limit freshclam to using DatabaseCustomURL. Neither freshclam-sleep nor clamav-freshclam.service have that ability. I suggest adding a FRESHCLAM_OPTIONS variable in sysconfig for this purpose. If I edit the service files directly, they'll get silently overwritten by the next update.
Checkout systemctl edit freshclam.service - which creates an override in /etc/systemd/system/freshclam.service.d/custom.conf - but an options file isn't a bad idea either.
Good point. I could switch from the old cron-based freshclam-sleep to the systemd unit file and completely replace the ExecStart value with a different command line.
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.