|
|
|
@ -1,7 +1,5 @@
|
|
|
|
|
diff -up fail2ban-0.8.1/files/redhat-initd.init fail2ban-0.8.1/files/redhat-initd
|
|
|
|
|
diff -up fail2ban-0.8.1/files/redhat-initd.init fail2ban-0.8.1/files/redhat-initd
|
|
|
|
|
--- fail2ban-0.8.1/files/redhat-initd.init 2007-07-11 23:09:45.000000000 +0100
|
|
|
|
|
+++ fail2ban-0.8.1/files/redhat-initd 2008-01-31 22:37:29.000000000 +0000
|
|
|
|
|
--- fail2ban-0.8.3/files/redhat-initd.init 2008-03-10 23:36:22.000000000 +0100
|
|
|
|
|
+++ fail2ban-0.8.3/files/redhat-initd 2008-08-24 20:46:01.000000000 +0200
|
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#
|
|
|
|
@ -10,11 +8,11 @@ diff -up fail2ban-0.8.1/files/redhat-initd.init fail2ban-0.8.1/files/redhat-init
|
|
|
|
|
# description: Fail2ban daemon
|
|
|
|
|
# http://fail2ban.sourceforge.net/wiki/index.php/Main_Page
|
|
|
|
|
# process name: fail2ban-server
|
|
|
|
|
@@ -27,8 +27,7 @@ start() {
|
|
|
|
|
@@ -27,8 +27,7 @@
|
|
|
|
|
echo -n $"Starting fail2ban: "
|
|
|
|
|
getpid
|
|
|
|
|
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 -x start > /dev/null
|
|
|
|
|
RETVAL=$?
|