2017-01-27 18:09:05 +01:00
|
|
|
Index: files/fail2ban.service
|
|
|
|
===================================================================
|
|
|
|
--- files/fail2ban.service.orig
|
|
|
|
+++ files/fail2ban.service
|
2016-03-10 13:14:45 +01:00
|
|
|
@@ -1,12 +1,13 @@
|
2015-07-01 21:56:17 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Fail2Ban Service
|
|
|
|
Documentation=man:fail2ban(1)
|
|
|
|
-After=network.target iptables.service firewalld.service
|
2016-03-10 13:14:45 +01:00
|
|
|
-PartOf=iptables.service firewalld.service
|
2015-07-01 21:56:17 +02:00
|
|
|
+After=network.target SuSEfirewall2.service
|
2016-03-10 13:14:45 +01:00
|
|
|
+PartOf=SuSEfirewall2.service
|
2015-07-01 21:56:17 +02:00
|
|
|
|
|
|
|
[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
|