Added parameter checking in rmilter image, added parameter in docker-compose, added parameter in .env
parent
0954fd50fb
commit
117e858df3
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm -f /var/run/rsyslogd.pid
|
rm -f /var/run/rsyslogd.pid
|
||||||
|
if [ "$ANTIVIRUS" == "clamav" ];
|
||||||
|
then
|
||||||
|
echo "# .try_include /etc/rmilter-clamav.conf" >> /etc/rmilter.conf
|
||||||
|
fi
|
||||||
rmilter -c /etc/rmilter.conf
|
rmilter -c /etc/rmilter.conf
|
||||||
rsyslogd -n
|
rsyslogd -n
|
||||||
|
Loading…
Reference in New Issue