diff options
author | Cyril Jaquier <cyril.jaquier@fail2ban.org> | 2007-03-13 23:18:54 +0000 |
---|---|---|
committer | Cyril Jaquier <cyril.jaquier@fail2ban.org> | 2007-03-13 23:18:54 +0000 |
commit | a85f562855422e344b207254a81b2241c7e1ed59 (patch) | |
tree | 02ff924a4741170e20e3966698f5bda0187b01bc | |
parent | 64226d09c0a81fecee68e9e7602b054ebb701e39 (diff) | |
download | fail2ban-a85f562855422e344b207254a81b2241c7e1ed59.tar.gz |
- Updated Gentoo script. Thanks to Raphaƫl Marichez
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@559 a942ae1a-1317-0410-a47c-b1dcaea8d605
-rw-r--r-- | files/gentoo-confd | 8 | ||||
-rwxr-xr-x | files/gentoo-initd | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/files/gentoo-confd b/files/gentoo-confd new file mode 100644 index 00000000..00d19f8b --- /dev/null +++ b/files/gentoo-confd @@ -0,0 +1,8 @@ +# Config file for /etc/init.d/fail2ban +# +# For information on options, see "/usr/bin/fail2ban-client -h". + +FAIL2BAN_OPTIONS="" + +# Force execution of the server even if the socket already exists: +#FAIL2BAN_OPTIONS="-x" diff --git a/files/gentoo-initd b/files/gentoo-initd index 6041f243..0b0878ae 100755 --- a/files/gentoo-initd +++ b/files/gentoo-initd @@ -21,7 +21,7 @@ opts="start stop restart reload showlog" -FAIL2BAN="/usr/bin/fail2ban-client" +FAIL2BAN="/usr/bin/fail2ban-client ${FAIL2BAN_OPTIONS}" depend() { need net |