mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-31 16:00:09 +00:00
TODO: start milter only if community container stalwart is used. Signed-off-by: Ruben D. <ruben@winterrific.net>
12 lines
250 B
Bash
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 "$@"
|