From d93b1c2d009680b7c21feb205e4324d70c9dfc41 Mon Sep 17 00:00:00 2001 From: lostcontrol Date: Tue, 13 Mar 2007 23:18:54 +0000 Subject: [PATCH] =?UTF-8?q?-=20Updated=20Gentoo=20script.=20Thanks=20to=20?= =?UTF-8?q?Rapha=C3=ABl=20Marichez?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@559 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- files/gentoo-confd | 8 ++++++++ files/gentoo-initd | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 files/gentoo-confd 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