017c761fff
clamd not being able to access user files. OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=270
21 lines
500 B
Plaintext
21 lines
500 B
Plaintext
[Unit]
|
|
Description=Clam AntiVirus userspace daemon
|
|
Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/
|
|
After=network.target
|
|
# Check for database existence
|
|
ConditionPathExistsGlob=/var/lib/clamav/main.{c[vl]d,inc}
|
|
ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc}
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/sbin/clamd
|
|
TimeoutStartSec=5min
|
|
Restart=always
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
;User=vscan
|
|
;Group=vscan
|
|
;PrivateTmp=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|