From fe2a74567e6ebea203f0dbd36bd5a2a26927d6e1 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 24 Apr 2024 15:12:36 +0200 Subject: [PATCH] Actualiser .forgejo/workflows/ci.yaml --- .forgejo/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 7bdd776..359c4ea 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -57,6 +57,11 @@ jobs: for zone_name in $files; do datetime=$(date --iso-8601=seconds) echo "Vérification de la zone ${zone_name::-5}..." + echo Dernière minute... + sudo grep named /var/log/syslog | grep ${datetime::-10} | grep ${zone_name::-5} + echo Depuis dix minutes... + sudo grep named /var/log/syslog | grep ${datetime::-9} | grep ${zone_name::-5} + sudo grep named /var/log/syslog | grep ${datetime::-9} | grep ${zone_name::-5} | grep loaded || exit 1 done