Actualiser .forgejo/workflows/ci.yaml
This commit is contained in:
parent
8f599c850f
commit
fe2a74567e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue