2023-01-16 13:34:38 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
2022-03-13 12:46:07 +01:00
|
|
|
|
|
|
|
# Restart fail2ban if needed
|
|
|
|
|
2022-08-20 00:57:59 +02:00
|
|
|
[ "$(systemctl is-active fail2ban.service)" = 'active' ] && fail2ban-client reload --restart
|
2023-01-16 13:34:38 +01:00
|
|
|
|
|
|
|
exit 0
|