mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
nextcloud-entrypoint: allow to configreav_blocklisted_directories
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
1ce3b4ec06
commit
7a5d3e7ec8
1 changed files with 3 additions and 0 deletions
|
|
@ -814,6 +814,9 @@ if [ "$CLAMAV_ENABLED" = 'yes' ]; then
|
||||||
php /var/www/html/occ config:app:set files_antivirus av_stream_max_length --value="$CLAMAV_MAX_SIZE"
|
php /var/www/html/occ config:app:set files_antivirus av_stream_max_length --value="$CLAMAV_MAX_SIZE"
|
||||||
php /var/www/html/occ config:app:set files_antivirus av_max_file_size --value="$CLAMAV_MAX_SIZE"
|
php /var/www/html/occ config:app:set files_antivirus av_max_file_size --value="$CLAMAV_MAX_SIZE"
|
||||||
php /var/www/html/occ config:app:set files_antivirus av_infected_action --value="only_log"
|
php /var/www/html/occ config:app:set files_antivirus av_infected_action --value="only_log"
|
||||||
|
if [ -n "$CLAMAV_BLOCKLISTED_DIRECTORIES" ]; then
|
||||||
|
php /var/www/html/occ config:app:set files_antivirus av_blocklisted_directories --value="$CLAMAV_BLOCKLISTED_DIRECTORIES"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$REMOVE_DISABLED_APPS" = yes ] && [ -d "/var/www/html/custom_apps/files_antivirus" ]; then
|
if [ "$REMOVE_DISABLED_APPS" = yes ] && [ -d "/var/www/html/custom_apps/files_antivirus" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue