Skip to content

Commit

Permalink
chore: avoid issues with av notification (#174)
Browse files Browse the repository at this point in the history
There is no need to notify clamav as the `SelfCheck` option is enabled
by default. We are making this explicit in the clamav configuration to
avoid future confusions.
  • Loading branch information
dbarrosop authored Sep 11, 2023
1 parent cf652fc commit 074d1e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build/clamav/clamd.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ StreamMaxLength 1024M

MaxRecursion 16
MaxFiles 10000

SelfCheck 1800
1 change: 0 additions & 1 deletion build/clamav/freshclam.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ DatabaseDirectory /clamav/db
Foreground yes
DatabaseOwner root
DatabaseMirror ${DATABASE_MIRROR:-database.clamav.net}
NotifyClamd yes
2 changes: 1 addition & 1 deletion build/dev/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:

clamd:
container_name: hasura-storage-clamd
image: nhost/clamav:0.1.0
image: nhost/clamav:0.1.2
restart: unless-stopped
ports:
- '3310:3310'

0 comments on commit 074d1e1

Please sign in to comment.