- Fixed socket path in redhat and suse init script. Thanks to Jim Wight.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@679 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Cyril Jaquier 17 years ago
parent c1bc33b3cc
commit 19d251d785

@ -12,6 +12,8 @@ ver. 0.8.3 (2008/??/??) - stable
- Process failtickets as long as failmanager is not empty. - Process failtickets as long as failmanager is not empty.
- Added "pam-generic" filter and more configuration fixes. - Added "pam-generic" filter and more configuration fixes.
Thanks to Yaroslav Halchenko. Thanks to Yaroslav Halchenko.
- Fixed socket path in redhat and suse init script. Thanks to
Jim Wight.
ver. 0.8.2 (2008/03/06) - stable ver. 0.8.2 (2008/03/06) - stable
---------- ----------

@ -27,7 +27,7 @@ start() {
echo -n $"Starting fail2ban: " echo -n $"Starting fail2ban: "
getpid getpid
if [ -z "$pid" ]; then if [ -z "$pid" ]; then
rm -rf /tmp/fail2ban.sock # in case of unclean shutdown rm -rf /var/run/fail2ban/fail2ban.sock # in case of unclean shutdown
$FAIL2BAN start > /dev/null $FAIL2BAN start > /dev/null
RETVAL=$? RETVAL=$?
fi fi

@ -16,7 +16,7 @@
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/sbin:/usr/bin:/bin PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/sbin:/usr/bin:/bin
FAIL2BAN_BIN=/usr/local/bin/fail2ban-client FAIL2BAN_BIN=/usr/local/bin/fail2ban-client
FAIL2BAN_SERVER=/usr/local/bin/fail2ban-server FAIL2BAN_SERVER=/usr/local/bin/fail2ban-server
FAIL2BAN_SOCKET=/tmp/fail2ban.sock FAIL2BAN_SOCKET=/var/run/fail2ban/fail2ban.sock
test -x $FAIL2BAN_BIN || { echo "$FAIL2BAN_BIN not installed"; test -x $FAIL2BAN_BIN || { echo "$FAIL2BAN_BIN not installed";
if [ "$1" = "stop" ]; then exit 0; if [ "$1" = "stop" ]; then exit 0;
else exit 5; fi; } else exit 5; fi; }

Loading…
Cancel
Save