Index: files/fail2ban.service =================================================================== --- files/fail2ban.service.orig +++ files/fail2ban.service @@ -1,12 +1,13 @@ [Unit] Description=Fail2Ban Service Documentation=man:fail2ban(1) -After=network.target iptables.service firewalld.service -PartOf=iptables.service firewalld.service +After=network.target SuSEfirewall2.service +PartOf=SuSEfirewall2.service [Service] Type=forking -ExecStart=/usr/bin/fail2ban-client -x start +EnvironmentFile=-/etc/sysconfig/fail2ban +ExecStart=/usr/bin/fail2ban-client -x $FAIL2BAN_OPTIONS start ExecStop=/usr/bin/fail2ban-client stop ExecReload=/usr/bin/fail2ban-client reload PIDFile=/var/run/fail2ban/fail2ban.pid