[ClamAV] Copy productive whitelist.ign to exposed configuration folder, remove direct mount of whitelist file
parent
25c2bcc8b3
commit
8c3ab0371a
|
@ -37,6 +37,9 @@ chmod 750 /run/clamav
|
|||
stat /var/lib/clamav/whitelist.ign2
|
||||
dos2unix /var/lib/clamav/whitelist.ign2
|
||||
sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
|
||||
# Copying to /etc/clamav to expose file as-is to administrator
|
||||
cp -p /var/lib/clamav/whitelist.ign2 /etc/clamav/whitelist.ign2
|
||||
|
||||
|
||||
BACKGROUND_TASKS=()
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Please restart ClamAV after changing signatures
|
||||
Example-Signature.Ignore-1
|
||||
PUA.Pdf.Trojan.EmbeddedJavaScript-1
|
|
@ -62,7 +62,6 @@ services:
|
|||
- TZ=${TZ}
|
||||
- SKIP_CLAMD=${SKIP_CLAMD:-n}
|
||||
volumes:
|
||||
- ./data/conf/clamav/whitelist.ign2:/var/lib/clamav/whitelist.ign2
|
||||
- ./data/conf/clamav/:/etc/clamav/
|
||||
networks:
|
||||
mailcow-network:
|
||||
|
|
Loading…
Reference in New Issue