clamav/clamd@.service

13 lines
416 B
SYSTEMD
Raw Normal View History

[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
# ConditionPathExistsGlob=@DBDIR@/main.{c[vl]d,inc}
# ConditionPathExistsGlob=@DBDIR@/daily.{c[vl]d,inc}
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
Restart = on-failure