mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
wait for clamav to become available
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
b5e45e270b
commit
ea098a4d1a
2 changed files with 5 additions and 1 deletions
|
|
@ -306,6 +306,10 @@ php /var/www/html/occ config:app:set spreed signaling_servers --value="$SIGNALIN
|
|||
|
||||
# Clamav
|
||||
if [ "$CLAMAV_ENABLED" = 'yes' ]; then
|
||||
while ! nc -z "$CLAMAV_HOST" 3310; do
|
||||
echo "waiting for clamav to become available..."
|
||||
sleep 5
|
||||
done
|
||||
if ! [ -d "/var/www/html/custom_apps/files_antivirus" ]; then
|
||||
php /var/www/html/occ app:install files_antivirus
|
||||
elif [ "$(php /var/www/html/occ config:app:get files_antivirus enabled)" = "no" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue