diff -ur fail2ban-0.10.1.orig/files/fail2ban.service.in fail2ban-0.10.1/files/fail2ban.service.in --- fail2ban-0.10.1.orig/files/fail2ban.service.in 2017-10-12 13:46:46.000000000 +0200 +++ fail2ban-0.10.1/files/fail2ban.service.in 2017-10-21 07:33:59.289164729 +0200 @@ -1,17 +1,18 @@ [Unit] Description=Fail2Ban Service Documentation=man:fail2ban(1) -After=network.target iptables.service firewalld.service -PartOf=iptables.service firewalld.service +After=network.target iptables.service firewalld.service SuSEfirewall2.service +PartOf=iptables.service firewalld.service SuSEfirewall2.service [Service] Type=simple +EnvironmentFile=-/etc/sysconfig/fail2ban ExecStartPre=/bin/mkdir -p /var/run/fail2ban -ExecStart=@BINDIR@/fail2ban-server -xf start +ExecStart=/usr/bin/fail2ban-server -xf $FAIL2BAN_OPTIONS start # if should be logged in systemd journal, use following line or set logtarget to stdout in fail2ban.local -# ExecStart=@BINDIR@/fail2ban-server -xf --logtarget=stdout start -ExecStop=@BINDIR@/fail2ban-client stop -ExecReload=@BINDIR@/fail2ban-client reload +# ExecStart=/usr/bin/fail2ban-server -xf --logtarget=stdout start +ExecStop=/usr/bin/fail2ban-client stop +ExecReload=/usr/bin/fail2ban-client reload PIDFile=/var/run/fail2ban/fail2ban.pid Restart=on-failure RestartPreventExitStatus=0 255