mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #6458 from nextcloud/enh/6456/move-local-socket
clamav: move LocalSocket to `/tmp/clamd.sock`
This commit is contained in:
commit
17ec503bf3
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue