[clamav-users] Freshclam to not write to syslog?
Brent Clark
brentgclarklist at gmail.com
Wed Apr 5 06:55:56 UTC 2023
On 2023/04/04 15:47, Marc wrote:
>> My logging goes to syslog, maybe remove this UpdateLogFile? I have only this in my config.
>>
>> LogSyslog yes
>> LogFacility LOG_MAIL
Thanks Guys
Stefano gave me a hint and to check systemd.
Low and behold:
cat ./multi-user.target.wants/clamav-freshclam.service
[Unit]
Description=ClamAV virus database updater
Documentation=man:freshclam(1) man:freshclam.conf(5)
https://docs.clamav.net/
# If user wants it run from cron, don't start the daemon.
ConditionPathExists=!/etc/cron.d/clamav-freshclam
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/freshclam -d --foreground=true
StandardOutput=syslog
[Install]
WantedBy=multi-user.target
Many thanks all for replying
Regards
Brent
More information about the clamav-users
mailing list