diff options
-rw-r--r-- | system/clamav/rc.clamav | 7 |
1 files changed, 4 insertions, 3 deletions
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 <rworkman@slackbuilds.org> # 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 |