How to set Clamd option for database "SelfCheck"

Started by cpanel_leaver, May 06, 2022, 05:52:18 AM

Previous topic - Next topic

cpanel_leaver

I have clamd service running.
But tried all config files to change option:


# Perform a database check.
# Default: 600 (10 min)
# SelfCheck 600
SelfCheck 3600


Config files I tried:

/etc/clamd.d/clamd.conf
/etc/clamd.d/amavisd.conf
/etc/clamd.d/scan.conf
/etc/clamd.conf


Then restarted clamd.service. But always stays on 10 minute check.

What config file is used?
Thanks








Igor S.

Hi, try config in /etc/clamd.d/amavisd.conf
Also, you can check the required config in /usr/lib/systemd/system/clamd.service



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

cpanel_leaver

@Igor, many thanks, it was indeed /etc/clamd.d/amavisd.conf, now Selfcheck is set to 3600.