set daemon_timeout for clamd; startup can be rather slow if you have large

rulesets (for example the sanesecurity anti-spam/malware rules often used
on mail servers)
This commit is contained in:
sthen 2017-05-28 20:12:51 +00:00
parent b121cc0ae5
commit 0ee78c58ec
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.113 2017/05/25 13:28:27 espie Exp $
# $OpenBSD: Makefile,v 1.114 2017/05/28 20:12:51 sthen Exp $
COMMENT= virus scanner
DISTNAME= clamav-0.99.2
REVISION= 4
REVISION= 5
CATEGORIES= security

View File

@ -1,8 +1,9 @@
#!/bin/sh
#
# $OpenBSD: clamd.rc,v 1.1 2011/01/05 06:06:49 ajacoutot Exp $
# $OpenBSD: clamd.rc,v 1.2 2017/05/28 20:12:51 sthen Exp $
daemon="${TRUEPREFIX}/sbin/clamd"
daemon_timeout="90"
. /etc/rc.d/rc.subr