handle fail2ban

This commit is contained in:
Ludovic Cartier
2026-05-27 19:27:06 +02:00
parent 6ced9cbcfa
commit 6730fdfd08
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -5,7 +5,9 @@ After=network.target
[Service]
RemainAfterExit=yes
ExecStart=/usr/local/bin/firewall start
ExecStartPost=-/bin/systemctl try-restart fail2ban.service
ExecReload=/usr/local/bin/firewall force-reload
ExecReload=-/bin/systemctl try-restart fail2ban.service
ExecStop=/usr/local/bin/firewall stop
User=root