From d9ffb090111f46cdc884b21b4bad81d7b6d87cbc Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 28 Apr 2021 12:10:10 +0200 Subject: [filtron.sh] make filtron rule file configurable To select a different file with filtron rules, set environment FILTRON_RULES_TEMPLATE the default is utils/templates/etc/filtron/rules.json The installation is done by the new function install_rules() which offers a multiple choice in case of collisions (known from searx.sh install setup). Signed-off-by: Markus Heiser --- .config.sh | 1 + 1 file changed, 1 insertion(+) (limited to '.config.sh') diff --git a/.config.sh b/.config.sh index 7eed5f681..e9e79d82c 100644 --- a/.config.sh +++ b/.config.sh @@ -40,6 +40,7 @@ fi # FILTRON_API="127.0.0.1:4005" # FILTRON_LISTEN="127.0.0.1:4004" # FILTRON_TARGET="127.0.0.1:8888" +# FILTRON_RULES_TEMPLATE="${REPO_ROOT}/utils/templates/etc/searx/use_default_settings.yml" # morty.sh # -------- -- cgit v1.2.3