Drop clamd@scann.service file, change /var/run to /run
This commit is contained in:
parent
7513dffb61
commit
85fcdb6522
@ -1,12 +1,15 @@
|
||||
[Unit]
|
||||
Description = clamd scanner (%i) daemon
|
||||
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]
|
||||
Type = forking
|
||||
ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
|
||||
# Reload the database
|
||||
# ExecReload=/bin/kill -USR2 $MAINPID
|
||||
Restart = on-failure
|
||||
TimeoutStartSec=420
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user