14 lines
394 B
SYSTEMD
14 lines
394 B
SYSTEMD
|
[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=@prefix@/bin/freshclam -d --foreground=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|