Properly include the rmilter clamav configuration

master
kaiyou 7 years ago
parent 89228c5b4b
commit a092e3f9b2

@ -10,7 +10,7 @@ done
rm -f /var/run/rsyslogd.pid rm -f /var/run/rsyslogd.pid
if [ "$ANTIVIRUS" == "clamav" ]; if [ "$ANTIVIRUS" == "clamav" ];
then then
echo "# .try_include /etc/rmilter-clamav.conf" >> /etc/rmilter.conf echo ".try_include /etc/rmilter-clamav.conf" >> /etc/rmilter.conf
fi fi
rmilter -c /etc/rmilter.conf rmilter -c /etc/rmilter.conf
rsyslogd -n rsyslogd -n

Loading…
Cancel
Save