all-in-one/Containers/clamav/start.sh
Simon L. f72ab28a41 fix clamav
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-07-11 15:54:25 +02:00

11 lines
238 B
Bash

#!/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 "$@"