[clamav-users] freshclam-sleep doesn't exist in epel8 packages
khodor barakat
khodor.barakat at outlook.com
Sat Oct 29 00:38:15 UTC 2022
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 at 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 at nirvana1 ~]$
[20:36:50][root at nirvana1 ~]$
[20:36:50][root at 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 at nirvana1 ~]$
________________________________
From: clamav-users <clamav-users-bounces at lists.clamav.net> on behalf of Kenneth Porter <shiva at sewingwitch.com>
Sent: Friday, October 28, 2022 8:33 PM
To: clamav-users at lists.clamav.net <clamav-users at lists.clamav.net>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20221029/a17ecd36/attachment.htm>
More information about the clamav-users
mailing list