do you have any documentation about the service, i know that the service is
installed within the package but wondering what extra config i need to add
[20:36:39][root@nirvana1 ~]$ systemctl status clamav-freshclam.service
● clamav-freshclam.service - ClamAV virus database updater
Loaded: loaded (/usr/lib/systemd/system/clamav-freshclam.service; disabled;
vendor preset: disabled)
Active: inactive (dead)
Docs: man:freshclam(1)
man:freshclam.conf(5)
https://docs.clamav.net/
[20:36:50][root@nirvana1 ~]$
[20:36:50][root@nirvana1 ~]$
[20:36:50][root@nirvana1 ~]$ cat
/usr/lib/systemd/system/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-update
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/freshclam -d --foreground=true
[Install]
WantedBy=multi-user.target
[20:36:55][root@nirvana1 ~]$
________________________________
From: clamav-users <[email protected]> on behalf of Kenneth
Porter <[email protected]>
Sent: Friday, October 28, 2022 8:33 PM
To: [email protected] <[email protected]>
Subject: Re: [clamav-users] freshclam-sleep doesn't exist in epel8 packages
Looks like a nudge to switch to the systemd service instead of a cron
listing. Try:
systemctl enable clamav-freshclam
I'm a little surprised that they didn't use a systemd timer.
_______________________________________________
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