evocheck: upstream release 22.06.2
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4d1d77faaf
commit
cea1408bba
|
@ -16,6 +16,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
* evocheck: upstream release 22.06.2
|
||||||
* fail2ban: Give the possibility to override jail.local (with fail2ban_override_jaillocal)
|
* fail2ban: Give the possibility to override jail.local (with fail2ban_override_jaillocal)
|
||||||
* fail2ban: If jail.local was overriden, add a warning
|
* fail2ban: If jail.local was overriden, add a warning
|
||||||
* fail2ban: Allow to tune some jail settings (maxretry, bantime, findtime) with ansible
|
* fail2ban: Allow to tune some jail settings (maxretry, bantime, findtime) with ansible
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Debian/OpenBSD server
|
# Script to verify compliance of a Debian/OpenBSD server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="22.06.1"
|
VERSION="22.06.2"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
@ -744,7 +744,7 @@ check_backupuptodate() {
|
||||||
if [ -n "$(ls -A ${backup_dir})" ]; then
|
if [ -n "$(ls -A ${backup_dir})" ]; then
|
||||||
# Look for all files, including subdirectories.
|
# 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
|
# 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")
|
limit=$(date +"%s" -d "now - 2 day")
|
||||||
updated_at=$(stat -c "%Y" "$file")
|
updated_at=$(stat -c "%Y" "$file")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue