Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 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 |