Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: cpanel_leaver on May 06, 2022, 05:52:18 AM

Title: How to set Clamd option for database "SelfCheck"
Post by: cpanel_leaver on May 06, 2022, 05:52:18 AM
I have clamd service running.
But tried all config files to change option:

Code: [Select]
# Perform a database check.
# Default: 600 (10 min)
# SelfCheck 600
SelfCheck 3600

Config files I tried:
Code: [Select]
/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







Title: Re: How to set Clamd option for database "SelfCheck"
Post by: Igor S. on May 23, 2022, 09:16:27 AM
Hi, try config in /etc/clamd.d/amavisd.conf
Also, you can check the required config in /usr/lib/systemd/system/clamd.service
Title: Re: How to set Clamd option for database "SelfCheck"
Post by: cpanel_leaver on May 27, 2022, 05:33:02 AM
@Igor, many thanks, it was indeed /etc/clamd.d/amavisd.conf, now Selfcheck is set to 3600.