mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
keep fail2ban rules on firewall reload
reloading firewall flushes all iptables rules to create new ones, dropping fail2ban rules in the same time.
This commit is contained in:
parent
d698c4c3de
commit
ca92ec08f2
1 changed files with 5 additions and 0 deletions
5
hooks/post_iptable_rules/52-fail2ban
Executable file
5
hooks/post_iptable_rules/52-fail2ban
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
systemctl restart fail2ban
|
Loading…
Add table
Reference in a new issue