Files
nextcloud/Containers/clamav/start.sh
Ruben D. 28f7d3571c Add clamav milter packaged, configure it and use supervisord to start it up.
TODO: start milter only if community container stalwart is used.

Signed-off-by: Ruben D. <ruben@winterrific.net>
2025-10-14 20:59:42 +02:00

12 lines
250 B
Bash

#!/bin/bash
sed "s|aio-placeholder|$MAX_SIZE|" /etc/clamav/clamd.conf > /tmp/clamd.conf
cp /etc/clamav/clamav-milter.conf /tmp/clamv-milter-conf
# Print out clamav version for compliance reasons
clamscan --version
echo "Clamav started"
exec "$@"