Skip to content

Commit 3ae3aff

Browse files
committed
fix antivirus configuration
1 parent 12f47fc commit 3ae3aff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/configuration/available-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The webinterface of seafile...
158158
| `SEAHUB__SHOW_TRAFFIC` | Whether to show the used traffic in user's profile popup dialog. | "True" |
159159
| `SEAHUB__ENABLE_SYS_ADMIN_VIEW_REPO` | Allow administrator to view user's file in UNENCRYPTED libraries through Libraries page in System Admin. | "False" |
160160
| `SEAHUB__ENABLE_SHARE_LINK_AUDIT` | For unauthenticated users, providing an email before downloading or uploading on shared link page. | "True" |
161-
| `ENABLE_UPLOAD_LINK_VIRUS_CHECK` | Whether to check uploaded files that were uploaded using upload links for viruses. Defaults to "False". | "False" |
161+
| `SEAHUB__ENABLE_UPLOAD_LINK_VIRUS_CHECK` | Whether to check uploaded files that were uploaded using upload links for viruses. Defaults to "False". | "False" |
162162
| `SEAHUB__EMAIL_USE_TLS` | Whether to use TLS for the email server connection. | "False" |
163163
| `SEAHUB__EMAIL_HOST` | SMTP server host address. | "'smtp.example.com'" |
164164
| `SEAHUB__EMAIL_HOST_USER` | Username and domain for the SMTP server. | "'[email protected]'" |

docs/docker/extensions/clamav.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ sed -i "s/COMPOSE_FILE='\(.*\)'/COMPOSE_FILE='\1,clamav.yml'/" /opt/seafile-comp
2121
To activate the scans, just add these variables to your .env file:
2222

2323
```bash
24+
SEAFILE__virus_scan__enabled=true
2425
SEAFILE__virus_scan__scan_command='clamdscan'
25-
SEAFILE__virus_scan__virus_mode='1'
26-
SEAFILE__virus_scan__nonvirus_mode='0'
26+
SEAFILE__virus_scan__virus_code='1'
27+
SEAFILE__virus_scan__nonvirus_code='0'
2728
SEAFILE__virus_scan__scan_interval='5'
2829
SEAFILE__virus_scan__scan_size_limit='20'
2930
SEAFILE__virus_scan__threads='2'

0 commit comments

Comments
 (0)