do you think i should create a freshclam.service with timer and reference the 
clamav-freshclam.service , also in freshclam.conf the checks by default is set 
to 12 checks by day and you can change that,

also found this article dated to 2020

https://www.golinuxcloud.com/steps-install-configure-clamav-antivirus-centos-linux/#33_On_CentOS_8_with_systemd_clamav-freshclamservice


not sure if the service was enhanced since 2020 to support sleep , since also 
in my logs i do see that calls freshclam :"received signal to wake up"

Received signal: wake up
ClamAV update process started at Tue Nov  1 10:17:30 2022
daily.cld database is up-to-date (version: 26706, sigs: 2009713, f-level: 90, 
builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, 
builder: sigmgr)
bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, 
builder: awillia2)
--------------------------------------
Received signal: wake up
ClamAV update process started at Tue Nov  1 12:17:30 2022
daily.cld database is up-to-date (version: 26706, sigs: 2009713, f-level: 90, 
builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, 
builder: sigmgr)
bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, 
builder: awillia2)
--------------------------------------



________________________________
From: clamav-users <[email protected]> on behalf of Kenneth 
Porter <[email protected]>
Sent: Friday, October 28, 2022 8:52 PM
To: [email protected] <[email protected]>
Subject: Re: [clamav-users] freshclam-sleep doesn't exist in epel8 packages

Also look at "man freshclam.conf".

I don't see any facility to randomize the check times, as
freshclam-sleep provides. That's where a systemd timer would be nice, as
it provides a rich set of syntax for random sleeps.


_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to