forked from pool/fail2ban
499398214d
update to 0.9.6 OBS-URL: https://build.opensuse.org/request/show/452855 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=75
22 lines
719 B
Diff
22 lines
719 B
Diff
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
|