Browse Source

- 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
Cyril Jaquier 16 years ago
parent
commit
97f48991a2
  1. 2
      ChangeLog
  2. 7
      files/suse-initd

2
ChangeLog

@ -20,6 +20,8 @@ ver. 0.8.4 (2008/??/??) - stable
- Added/improved filters and date formats. - Added/improved filters and date formats.
- Added actions to report abuse to ISP, DShield and - Added actions to report abuse to ISP, DShield and
myNetWatchman. Thanks to Russell Odom. 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 ver. 0.8.3 (2008/07/17) - stable
---------- ----------

7
files/suse-initd

@ -35,6 +35,13 @@ rc_reset
case "$1" in case "$1" in
start) start)
echo -n "Starting Fail2Ban " 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 /sbin/startproc $FAIL2BAN_BIN start &>/dev/null
rc_status -v rc_status -v
;; ;;

Loading…
Cancel
Save