forked from pool/fail2ban
Accepting request 144021 from home:weberho:branches:security
Fixed initscript as discussed in bnc#790557 OBS-URL: https://build.opensuse.org/request/show/144021 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=25
This commit is contained in:
parent
e782a939d9
commit
f7cf149e29
@ -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
|
Wed Oct 3 09:53:40 UTC 2012 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
# Should-Stop: $time $network iptables
|
# Should-Stop: $time $network iptables
|
||||||
# Default-Start: 3 5
|
# Default-Start: 3 5
|
||||||
# Default-Stop: 0 1 2 6
|
# Default-Stop: 0 1 2 6
|
||||||
|
# Pidfile: /var/run/fail2ban/fail2ban.pid
|
||||||
# Short-Description: Bans IPs with too many authentication failures
|
# Short-Description: Bans IPs with too many authentication failures
|
||||||
# Description: Start fail2ban to scan logfiles and ban IP addresses
|
# Description: Start fail2ban to scan logfiles and ban IP addresses
|
||||||
# which make too many logfiles failures, and/or sent e-mails about
|
# which make too many logfiles failures, and/or sent e-mails about
|
||||||
@ -48,7 +49,7 @@ case "$1" in
|
|||||||
rm $FAIL2BAN_SOCKET
|
rm $FAIL2BAN_SOCKET
|
||||||
fi
|
fi
|
||||||
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
|
rc_status -v
|
||||||
;;
|
;;
|
||||||
@ -110,3 +111,4 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
rc_exit
|
rc_exit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user