diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-05-27 18:41:08 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-30 13:39:35 +0200 |
commit | 81bba4486916dbca4467a7e8c8b839a7c55c2a09 (patch) | |
tree | fa819ab67e5c3829bf59086221beef969ee55ff3 /utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | |
parent | 0cf5310933ee4f6bff4a941f7296686bd671671f (diff) | |
download | searxng-81bba4486916dbca4467a7e8c8b839a7c55c2a09.tar.gz searxng-81bba4486916dbca4467a7e8c8b839a7c55c2a09.zip |
[install scripts] rename SEARX_<name> variables to SEARXNG_<name>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-archlinux/searxng.ini')
-rw-r--r-- | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini index aaf55a807..931746306 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini @@ -16,7 +16,7 @@ env = LANGUAGE=C.UTF-8 env = LC_ALL=C.UTF-8 # chdir to specified directory before apps loading -chdir = ${SEARX_SRC}/searx +chdir = ${SEARXNG_SRC}/searx # SearXNG configuration (settings.yml) env = SEARXNG_SETTINGS_PATH=${SEARXNG_SETTINGS_PATH} @@ -57,10 +57,10 @@ enable-threads = true module = searx.webapp # set PYTHONHOME/virtualenv -virtualenv = ${SEARX_PYENV} +virtualenv = ${SEARXNG_PYENV} # add directory (or glob) to pythonpath -pythonpath = ${SEARX_SRC} +pythonpath = ${SEARXNG_SRC} # speak to upstream @@ -74,20 +74,20 @@ pythonpath = ${SEARX_SRC} # https://uwsgi-docs.readthedocs.io/en/latest/Options.html#plugin-http # Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html -http = ${SEARX_INTERNAL_HTTP} +http = ${SEARXNG_INTERNAL_HTTP} # using unix-sockets: # -# On some distributions you need to create the app folder for the sockets:: +# Don't forget to create the folder where the sockets should take place:: # -# mkdir -p ${SEARX_UWSGI_SOCKET} -# chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SEARX_UWSGI_SOCKET} +# mkdir -p "$(dirname ${SEARXNG_UWSGI_SOCKET})" +# chown -R "${SERVICE_USER}:${SERVICE_GROUP}" "$(dirname ${SEARXNG_UWSGI_SOCKET})" # -# socket = ${SEARX_UWSGI_SOCKET} +# socket = ${SEARXNG_UWSGI_SOCKET} # uwsgi serves the static files # expires set to one year since there are hashes -static-map = /static=${SEARX_SRC}/searx/static +static-map = /static=${SEARXNG_STATIC} static-expires = /* 31557600 static-gzip-all = True offload-threads = %k |