aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/clamav/files/clamav-freshclam.service
blob: 0c909fb32ded842baadfb09fdb57f062f44eb196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=ClamAV virus database updater
Documentation=man:freshclam(1) man:freshclam.conf(5) http://www.clamav.net/lang/en/doc/
# If user wants it run from cron, don't start the daemon.
ConditionPathExists=!/etc/cron.d/clamav-freshclam

[Service]
ExecStart=/usr/bin/freshclam -d --foreground=true
StandardOutput=syslog

[Install]
WantedBy=multi-user.target