diff options
author | 3nprob <3nprob@3nprob> | 2021-04-08 12:51:50 +0900 |
---|---|---|
committer | 3nprob <3nprob@3nprob> | 2021-04-08 12:56:15 +0900 |
commit | 0fb423ea59f08c1294e9651da49edd27467f80a0 (patch) | |
tree | 12abf7bcc2e7568483579b701afa35543dd9e538 /utils/searx.sh | |
parent | 547478089f1a48bb22a7651435db6cf941afc2f5 (diff) | |
download | searxng-0fb423ea59f08c1294e9651da49edd27467f80a0.tar.gz searxng-0fb423ea59f08c1294e9651da49edd27467f80a0.zip |
Allow overriding env vars SEARX_SETTINGS_PATH,UWSGI_SETTINGS_PATH
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-x | utils/searx.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/searx.sh b/utils/searx.sh index ed015bdd2..d2dbe79b6 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -35,7 +35,7 @@ SERVICE_GROUP="${SERVICE_USER}" GIT_BRANCH="${GIT_BRANCH:-master}" SEARX_PYENV="${SERVICE_HOME}/searx-pyenv" SEARX_SRC="${SERVICE_HOME}/searx-src" -SEARX_SETTINGS_PATH="/etc/searx/settings.yml" +SEARX_SETTINGS_PATH="${SEARX_SETTINGS_PATH:-/etc/searx/settings.yml}" SEARX_SETTINGS_TEMPLATE="${SEARX_SETTINGS_TEMPLATE:-${REPO_ROOT}/utils/templates/etc/searx/use_default_settings.yml}" SEARX_UWSGI_APP="searx.ini" # shellcheck disable=SC2034 |