Actualiser .forgejo/workflows/ci.yaml
/ sync (push) Successful in 1s Details
/ deploiement (push) Successful in 0s Details

This commit is contained in:
Adrien Bourmault 2024-04-24 15:12:36 +02:00
parent 8f599c850f
commit fe2a74567e
1 changed files with 5 additions and 0 deletions

View File

@ -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