Merge pull request #6458 from nextcloud/enh/6456/move-local-socket

clamav: move LocalSocket to `/tmp/clamd.sock`
This commit is contained in:
Simon L.
2025-05-30 09:30:35 +02:00
committed by GitHub

View File

@@ -11,6 +11,7 @@ RUN set -ex; \
sed -i "s|#\?PCREMaxFileSize.*|PCREMaxFileSize aio-placeholder|g" /etc/clamav/clamd.conf; \
sed -i "s|#\?StreamMaxLength.*|StreamMaxLength aio-placeholder|g" /etc/clamav/clamd.conf; \
sed -i "s|#\?TCPSocket|TCPSocket|g" /etc/clamav/clamd.conf; \
sed -i "s|^LocalSocket .*|LocalSocket /tmp/clamd.sock|g" /etc/clamav/clamd.conf; \
freshclam --foreground --stdout
COPY --chmod=775 start.sh /start.sh