]>
Commit | Line | Data |
---|---|---|
3731388e CS |
1 | --- fail2ban-0.8.3/files/redhat-initd.init 2008-03-10 23:36:22.000000000 +0100 |
2 | +++ fail2ban-0.8.3/files/redhat-initd 2008-08-24 20:46:01.000000000 +0200 | |
3 | @@ -1,6 +1,6 @@ | |
4 | #!/bin/bash | |
5 | # | |
6 | -# chkconfig: 345 92 08 | |
7 | +# chkconfig: - 92 08 | |
8 | # description: Fail2ban daemon | |
9 | # http://fail2ban.sourceforge.net/wiki/index.php/Main_Page | |
10 | # process name: fail2ban-server | |
11 | @@ -27,8 +27,7 @@ | |
12 | echo -n $"Starting fail2ban: " | |
13 | getpid | |
14 | if [ -z "$pid" ]; then | |
15 | - rm -rf /var/run/fail2ban/fail2ban.sock # in case of unclean shutdown | |
16 | - $FAIL2BAN start > /dev/null | |
17 | + $FAIL2BAN -x start > /dev/null | |
18 | RETVAL=$? | |
19 | fi | |
20 | if [ $RETVAL -eq 0 ]; then |