[Clamd] fix whitelist (#4541)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
parent
d4e829465b
commit
4e6c398c8c
@ -14,10 +14,10 @@ rm -rf /var/lib/clamav/clamav-*.tmp
|
||||
|
||||
mkdir -p /run/clamav /var/lib/clamav
|
||||
|
||||
#if [[ -s /etc/clamav/whitelist.ign2 ]]; then
|
||||
# echo "Copying non-empty whitelist.ign2 to /var/lib/clamav/whitelist.ign2"
|
||||
# cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
|
||||
#fi
|
||||
if [[ -s /etc/clamav/whitelist.ign2 ]]; then
|
||||
echo "Copying non-empty whitelist.ign2 to /var/lib/clamav/whitelist.ign2"
|
||||
cp /etc/clamav/whitelist.ign2 /var/lib/clamav/whitelist.ign2
|
||||
fi
|
||||
|
||||
if [[ ! -f /var/lib/clamav/whitelist.ign2 ]]; then
|
||||
echo "Creating /var/lib/clamav/whitelist.ign2"
|
||||
|
@ -58,7 +58,7 @@ services:
|
||||
- redis
|
||||
|
||||
clamd-mailcow:
|
||||
image: mailcow/clamd:1.50
|
||||
image: mailcow/clamd:1.51
|
||||
restart: always
|
||||
dns:
|
||||
- ${IPV4_NETWORK:-172.22.1}.254
|
||||
|
Loading…
Reference in New Issue
Block a user