mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02:00
[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>
This commit is contained in:
parent
fe3831db1a
commit
d9ffb09011
2 changed files with 46 additions and 5 deletions
|
@ -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
|
||||
# --------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue