[ClamAV] Copy productive whitelist.ign to exposed configuration folder, remove direct mount of whitelist file

This commit is contained in:
andryyy
2019-12-14 15:12:37 +01:00
parent 25c2bcc8b3
commit 8c3ab0371a
3 changed files with 3 additions and 4 deletions

View File

@@ -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=()