7ac30d5336
- Update to version 0.9.4 - Defined services which per default uses systemd logger - The update to this versions allow to close boo#917818, as the logger-backends for several services are now centrally set in /etc/fail2ban/paths-opensuse.conf OBS-URL: https://build.opensuse.org/request/show/369600 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=69
21 lines
814 B
Diff
21 lines
814 B
Diff
diff -Nur fail2ban-0.9.4-orig/files/fail2ban.service fail2ban-0.9.4/files/fail2ban.service
|
|
--- fail2ban-0.9.4-orig/files/fail2ban.service 2016-03-08 03:50:10.000000000 +0100
|
|
+++ fail2ban-0.9.4/files/fail2ban.service 2016-03-10 10:33:48.834063007 +0100
|
|
@@ -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
|