SearXNG: partial update: reference /etc/searxng/settings.yml

This commit is contained in:
Alexandre Flament 2021-10-08 11:35:47 +02:00 committed by Markus Heiser
parent 861925c50f
commit 3fad483b7a
5 changed files with 10 additions and 10 deletions

6
manage
View file

@ -107,9 +107,9 @@ buildenv() {
# settings file from repository's working tree are used by default
SEARXNG_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml"
if [ -r '/etc/searx/settings.yml' ]; then
if ask_yn "should settings read from: /etc/searx/settings.yml"; then
SEARXNG_SETTINGS_PATH='/etc/searx/settings.yml'
if [ -r '/etc/searxng/settings.yml' ]; then
if ask_yn "should settings read from: /etc/searxng/settings.yml"; then
SEARXNG_SETTINGS_PATH='/etc/searxng/settings.yml'
fi
fi
export SEARXNG_SETTINGS_PATH