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/
|
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
|
2019-11-01 04:10:47 +00:00
|
|
|
# Reload the database
|
|
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
2012-01-08 10:54:01 +00:00
|
|
|
Restart = on-failure
|
2019-11-19 03:41:21 +00:00
|
|
|
TimeoutStartSec=420
|
2019-11-01 04:10:47 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|