Accepting request 144032 from security

Fixed initscript as discussed in bnc#790557

OBS-URL: https://build.opensuse.org/request/show/144032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=22
This commit is contained in:
Ismail Dönmez 2012-12-05 12:50:58 +00:00 committed by Git OBS Bridge
commit 966e68f416
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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