try to fix it

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-07-11 17:07:14 +02:00
parent f72ab28a41
commit efca35b0e9
2 changed files with 4 additions and 11 deletions

View file

@ -1,11 +0,0 @@
#!/bin/bash
# Adjust settings
cat /etc/clamav/clamd.conf > /tmp/clamd.conf
CLAMAV_FILE="$(sed "s|10G|$MAX_SIZE|" /clamav.conf)"
echo "$CLAMAV_FILE" >> /tmp/clamd.conf
# Call initial init
/init --config-file="/tmp/clamd.conf"
exec "$@"