diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-10-11 10:56:50 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2021-10-11 12:28:55 +0000 |
commit | 60edf2623d7c1a6b394638c6673c0d981674c570 (patch) | |
tree | ee18d6ba3b2daf2051f5cecc4f3fcbca6ecf09dd /manage | |
parent | 3fad483b7a614707fb973c7973d289e364163cfa (diff) | |
download | searxng-60edf2623d7c1a6b394638c6673c0d981674c570.tar.gz searxng-60edf2623d7c1a6b394638c6673c0d981674c570.zip |
[brand] SearXNG - reference /etc/searxng/settings.yml
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,7 +31,7 @@ pylint.FILES() { YAMLLINT_FILES=() while IFS= read -r line; do YAMLLINT_FILES+=("$line") -done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searx/*.yml')" +done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searxng/*.yml')" PYLINT_SEARX_DISABLE_OPTION="\ I,C,R,\ @@ -107,6 +107,10 @@ buildenv() { # settings file from repository's working tree are used by default SEARXNG_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml" + if [ -f /etc/searx/settings.yml ]; then + err_msg "settings.yml in /etc/searx/ is deprecated, move file to folder /etc/searxng/" + fi + 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' |