mailu: gate scanner readiness on its native ping response

This commit is contained in:
jenkins 2026-10-04 04:26:48 -05:00
parent 7a61fff82d
commit 570ef69b80
2 changed files with 10 additions and 1 deletions

View File

@ -842,6 +842,16 @@ spec:
spec:
containers:
- name: clamav
readinessProbe:
exec:
command:
- /bin/bash
- -ec
- 'exec 3<>/dev/tcp/127.0.0.1/3310; printf "PING\n" >&3; read -r -t 3 reply <&3; test "$reply" = PONG'
initialDelaySeconds: 10
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
env:
- name: SECRET_KEY
$patch: delete

View File

@ -1,7 +1,6 @@
"""Check that a routine Nextcloud restart preserves installed app files."""
from pathlib import Path
import shlex
import subprocess
import yaml