mailu: gate scanner readiness on its native ping response
This commit is contained in:
parent
7a61fff82d
commit
570ef69b80
@ -842,6 +842,16 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: clamav
|
- 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:
|
env:
|
||||||
- name: SECRET_KEY
|
- name: SECRET_KEY
|
||||||
$patch: delete
|
$patch: delete
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
"""Check that a routine Nextcloud restart preserves installed app files."""
|
"""Check that a routine Nextcloud restart preserves installed app files."""
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import shlex
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user