Hi everyone Anyone wishing to run clamd under daemontools http://cr.yp.to/daemontools.html can use the attached patch I hacked together, which is almost identical to Len Budney's patch: http://mysite.verizon.net/vze1ypud/software/qscanq/clamav-0.70-stderr.patch.gz I didn't notice Len had updated his previous patch, so I rolled my own based on his old patch, without checking first. Anyway, here it is if anyone is interested.
Patch like so: tar xzf clamav-0.70.tar.gz patch -p0 <clamav-0.70-stderr.patch Recommended /etc/clamav/clamav.conf entries: LogFile stderr LogFileMaxSize 0 FixStaleSocket /service/clamd/run: #!/bin/sh exec 2>&1 exec setuidgid clamav /usr/sbin/clamd /service/clamd/log/run: #!/bin/sh exec setuidgid clamav \ multilog t s1000000 n20 /var/log/clamav The run files assume clamav is configured as follows: ./configure \ --prefix=/usr \ --datadir=/var/lib \ --sysconfdir=/etc/clamav \ --disable-clamuko cheers Dale
clamav-0.70-stderr.patch
Description: Binary data