File: clamav-daemon.service.in

package info (click to toggle)
clamav 0.101.2+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 29,464 kB
  • sloc: ansic: 158,856; sh: 8,156; cpp: 5,173; makefile: 2,077; yacc: 1,351; lex: 714; python: 120; perl: 17
file content (15 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Clam AntiVirus userspace 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}

[Service]
ExecStart=@prefix@/sbin/clamd --foreground=true
# Reload the database
ExecReload=/bin/kill -USR2 $MAINPID
StandardOutput=syslog

[Install]
WantedBy=multi-user.target