mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02:00
SearXNG: SEARXNG_SETTINGS_PATH
This commit is contained in:
parent
9e266ecad3
commit
253b850376
18 changed files with 56 additions and 56 deletions
6
manage
6
manage
|
@ -105,14 +105,14 @@ export DOCS_BUILD
|
|||
buildenv() {
|
||||
|
||||
# settings file from repository's working tree are used by default
|
||||
SEARX_SETTINGS_PATH="${REPO_ROOT}/searx/settings.yml"
|
||||
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
|
||||
SEARX_SETTINGS_PATH='/etc/searx/settings.yml'
|
||||
SEARXNG_SETTINGS_PATH='/etc/searx/settings.yml'
|
||||
fi
|
||||
fi
|
||||
export SEARX_SETTINGS_PATH
|
||||
export SEARXNG_SETTINGS_PATH
|
||||
(
|
||||
set -e
|
||||
SEARXNG_DEBUG=1 pyenv.cmd python utils/build_env.py 2>&1 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue