mirror of https://github.com/fail2ban/fail2ban
- Remove socket file on startup is fail2ban crashed. Thanks to Detlef Reichelt.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@718 a942ae1a-1317-0410-a47c-b1dcaea8d605_tent/ipv6_via_aInfo
parent
6cd56802bb
commit
97f48991a2
|
@ -20,6 +20,8 @@ ver. 0.8.4 (2008/??/??) - stable
|
|||
- Added/improved filters and date formats.
|
||||
- Added actions to report abuse to ISP, DShield and
|
||||
myNetWatchman. Thanks to Russell Odom.
|
||||
- Suse init script. Remove socket file on startup is fail2ban
|
||||
crashed. Thanks to Detlef Reichelt.
|
||||
|
||||
ver. 0.8.3 (2008/07/17) - stable
|
||||
----------
|
||||
|
|
|
@ -35,6 +35,13 @@ rc_reset
|
|||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting Fail2Ban "
|
||||
# a cleanup workaround, since /etc/init.d/boot.local removes only.
|
||||
# regular files, and not sockets
|
||||
if test -e $FAIL2BAN_SOCKET; then
|
||||
if ! lsof -n $FAIL2BAN_SOCKET &>/dev/null; then
|
||||
rm $FAIL2BAN_SOCKET
|
||||
fi
|
||||
fi
|
||||
/sbin/startproc $FAIL2BAN_BIN start &>/dev/null
|
||||
rc_status -v
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue