Added disabled option in ClamAV
parent
4de82fc041
commit
8110da578b
8
dd-ctl
8
dd-ctl
|
@ -254,7 +254,7 @@ build_compose(){
|
||||||
-f dd-apps/docker/redis/redis.yml \
|
-f dd-apps/docker/redis/redis.yml \
|
||||||
-f dd-apps/docker/postgresql/postgresql.yml \
|
-f dd-apps/docker/postgresql/postgresql.yml \
|
||||||
-f dd-apps/docker/mariadb/mariadb.yml \
|
-f dd-apps/docker/mariadb/mariadb.yml \
|
||||||
-f dd-apps/docker/clamav/${CLAMAV_YML} \
|
-f "dd-apps/docker/clamav/${CLAMAV_YML}" \
|
||||||
-f dd-apps/docker/network.yml \
|
-f dd-apps/docker/network.yml \
|
||||||
config > docker-compose.yml
|
config > docker-compose.yml
|
||||||
}
|
}
|
||||||
|
@ -352,6 +352,12 @@ setup_nextcloud(){
|
||||||
php occ --no-warnings app:install files_antivirus
|
php occ --no-warnings app:install files_antivirus
|
||||||
php occ --no-warnings app:enable files_antivirus
|
php occ --no-warnings app:enable files_antivirus
|
||||||
EOF
|
EOF
|
||||||
|
else
|
||||||
|
# Enforce disabled
|
||||||
|
docker exec -i -u www-data dd-apps-nextcloud-app sh -s <<-EOF
|
||||||
|
php occ --no-warnings app:install files_antivirus
|
||||||
|
php occ --no-warnings app:disable files_antivirus
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable in Nextcloud
|
# Disable in Nextcloud
|
||||||
|
|
Loading…
Reference in New Issue