diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2019-08-13 19:03:26 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-18 08:02:41 +0700 |
commit | 09512a0fbc5055fad1b7737c33ece61b5bef4d39 (patch) | |
tree | c993990ce6583407a6d62d1ae5b6aea55f40695b /system/clamav | |
parent | 217cfbd34e090012412e6e02a468917843229942 (diff) |
system/clamav: Fix clamav-milter command in rc.clamav.
Thanks to Vasil Karadzhov!
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/clamav')
-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 d3db41f4fd23..3ed975b3d06a 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 |