diff options
Diffstat (limited to 'meta-security/recipes-scanners/clamav/files/clamav-freshclam.service')
-rw-r--r-- | meta-security/recipes-scanners/clamav/files/clamav-freshclam.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-security/recipes-scanners/clamav/files/clamav-freshclam.service b/meta-security/recipes-scanners/clamav/files/clamav-freshclam.service new file mode 100644 index 000000000..0c909fb32 --- /dev/null +++ b/meta-security/recipes-scanners/clamav/files/clamav-freshclam.service @@ -0,0 +1,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 |