evocheck: upstream release 22.06.2
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2022-06-09 07:41:49 +02:00 committed by Jérémy Lecour
parent 4d1d77faaf
commit cea1408bba
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed
* evocheck: upstream release 22.06.2
* fail2ban: Give the possibility to override jail.local (with fail2ban_override_jaillocal)
* fail2ban: If jail.local was overriden, add a warning
* fail2ban: Allow to tune some jail settings (maxretry, bantime, findtime) with ansible

View File

@ -4,7 +4,7 @@
# Script to verify compliance of a Debian/OpenBSD server
# powered by Evolix
VERSION="22.06.1"
VERSION="22.06.2"
readonly VERSION
# base functions
@ -744,7 +744,7 @@ check_backupuptodate() {
if [ -n "$(ls -A ${backup_dir})" ]; then
# Look for all files, including subdirectories.
# If this turns out to be problematic, we can go back to first level only, with --max-depth=1
find "${backup_dir}" -type f | while read -r file; do
find "${backup_dir}" -type f --max-depth=1 | while read -r file; do
limit=$(date +"%s" -d "now - 2 day")
updated_at=$(stat -c "%Y" "$file")