Make nftables restart fail2ban when reloaded
This commit is contained in:
parent
1acafce7c0
commit
1d2a293d4f
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@
|
|||
|
||||
# Restart fail2ban if needed
|
||||
|
||||
[ "$(systemctl is-active fail2ban.service)" = inactive ] || fail2ban-client reload
|
||||
[ "$(systemctl is-active fail2ban.service)" = 'active' ] && fail2ban-client reload --restart
|
||||
|
|
Loading…
Reference in a new issue