2012-01-08 10:54:01 +00:00
|
|
|
[Unit]
|
|
|
|
Description = clamd scanner (%i) daemon
|
2018-09-24 01:45:07 +00:00
|
|
|
Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/
|
|
|
|
# Check for database existence
|
2018-10-04 11:11:10 +00:00
|
|
|
# ConditionPathExistsGlob=@DBDIR@/main.{c[vl]d,inc}
|
|
|
|
# ConditionPathExistsGlob=@DBDIR@/daily.{c[vl]d,inc}
|
2012-01-08 10:54:01 +00:00
|
|
|
After = syslog.target nss-lookup.target network.target
|
|
|
|
|
|
|
|
[Service]
|
2018-01-17 17:20:04 +00:00
|
|
|
Type = forking
|
|
|
|
ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
|
2012-01-08 10:54:01 +00:00
|
|
|
Restart = on-failure
|
2019-11-19 03:41:21 +00:00
|
|
|
TimeoutStartSec=420
|