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