diff --git a/fail2ban.changes b/fail2ban.changes index 605b36a..5c42d84 100644 --- a/fail2ban.changes +++ b/fail2ban.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 3 16:06:56 UTC 2012 - jweberhofer@weberhofer.at + +- Fixed initscript as discussed in bnc#790557 + ------------------------------------------------------------------- Wed Oct 3 09:53:40 UTC 2012 - meissner@suse.com diff --git a/fail2ban.init b/fail2ban.init index 34d5682..6089078 100644 --- a/fail2ban.init +++ b/fail2ban.init @@ -8,6 +8,7 @@ # Should-Stop: $time $network iptables # Default-Start: 3 5 # Default-Stop: 0 1 2 6 +# Pidfile: /var/run/fail2ban/fail2ban.pid # Short-Description: Bans IPs with too many authentication failures # Description: Start fail2ban to scan logfiles and ban IP addresses # which make too many logfiles failures, and/or sent e-mails about @@ -48,7 +49,7 @@ case "$1" in rm $FAIL2BAN_SOCKET fi fi - /sbin/startproc $FAIL2BAN_CLI -q $FAIL2BAN_OPTIONS start &>/dev/null 2>&1 + $FAIL2BAN_CLI -x -q $FAIL2BAN_OPTIONS start &>/dev/null 2>&1 rc_status -v ;; @@ -110,3 +111,4 @@ case "$1" in ;; esac rc_exit +