diff options
Diffstat (limited to 'recipes-security/clamav/files/clamav-freshclam.service')
| -rw-r--r-- | recipes-security/clamav/files/clamav-freshclam.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-security/clamav/files/clamav-freshclam.service b/recipes-security/clamav/files/clamav-freshclam.service new file mode 100644 index 0000000..0c909fb --- /dev/null +++ b/recipes-security/clamav/files/clamav-freshclam.service | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=ClamAV virus database updater | ||
| 3 | Documentation=man:freshclam(1) man:freshclam.conf(5) http://www.clamav.net/lang/en/doc/ | ||
| 4 | # If user wants it run from cron, don't start the daemon. | ||
| 5 | ConditionPathExists=!/etc/cron.d/clamav-freshclam | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | ExecStart=/usr/bin/freshclam -d --foreground=true | ||
| 9 | StandardOutput=syslog | ||
| 10 | |||
| 11 | [Install] | ||
| 12 | WantedBy=multi-user.target | ||
