diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 12:10:10 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 12:48:49 +0200 |
| commit | d9ffb090111f46cdc884b21b4bad81d7b6d87cbc (patch) | |
| tree | 39f063f751879c4e9a2b466d88c5955f60394af1 /.config.sh | |
| parent | fe3831db1aa73ebda6eb12fa3a321002c176ccc1 (diff) | |
[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 <markus.heiser@darmarit.de>
Diffstat (limited to '.config.sh')
| -rw-r--r-- | .config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 # -------- |