From 09512a0fbc5055fad1b7737c33ece61b5bef4d39 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 13 Aug 2019 19:03:26 +0200 Subject: system/clamav: Fix clamav-milter command in rc.clamav. Thanks to Vasil Karadzhov! Signed-off-by: Matteo Bernardini --- system/clamav/rc.clamav | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'system/clamav') diff --git a/system/clamav/rc.clamav b/system/clamav/rc.clamav index d3db41f4fd..3ed975b3d0 100644 --- a/system/clamav/rc.clamav +++ b/system/clamav/rc.clamav @@ -6,7 +6,8 @@ # Slightly modified by Robby Workman # to replace backticks ( s/`command`/$(command)/ ) -# Set to '1' if you want milter support: +# Set to '1' if you want milter support +# (edit /etc/clamav-milter.conf first!): MILTER=0 # Start clamav: @@ -24,8 +25,8 @@ clamav_start() { /usr/bin/freshclam -d -l /var/log/clamav/freshclam.log echo "." if [ "$MILTER" == "1" ]; then - echo -n "Starting clamav-milter daemon: /usr/sbin/clamav-milter -dblo --max-children=2 local:/var/run/clamav/clmilter.sock " - /usr/sbin/clamav-milter -dblo --max-children=2 local:/var/run/clamav/clmilter.sock + echo -n "Starting clamav-milter daemon: /usr/sbin/clamav-milter -c /etc/clamav-milter.conf " + /usr/sbin/clamav-milter -c /etc/clamav-milter.conf echo "." fi fi -- cgit v1.2.3