summaryrefslogtreecommitdiff
path: root/docs/build-templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-02 17:18:05 +0200
committerAlexandre Flament <alex@al-f.net>2021-10-02 17:18:05 +0200
commit253b8503765b6f0d21135254277e72d17a51e04a (patch)
treec52ae4a1d47140d5e531e78b7fbc11e0a354c7ec /docs/build-templates
parent9e266ecad3cc20faf2c12cdab7862c29cf8df2ec (diff)
downloadsearxng-253b8503765b6f0d21135254277e72d17a51e04a.tar.gz
searxng-253b8503765b6f0d21135254277e72d17a51e04a.zip
SearXNG: SEARXNG_SETTINGS_PATH
Diffstat (limited to 'docs/build-templates')
-rw-r--r--docs/build-templates/searx.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst
index 70e658b4c..804514ac8 100644
--- a/docs/build-templates/searx.rst
+++ b/docs/build-templates/searx.rst
@@ -133,17 +133,17 @@ ${fedora_build}
.. code-block:: sh
- $ sudo -H mkdir -p \"$(dirname ${SEARX_SETTINGS_PATH})\"
+ $ sudo -H mkdir -p \"$(dirname ${SEARXNG_SETTINGS_PATH})\"
$ sudo -H cp \"$SEARX_SRC/utils/templates/etc/searx/settings.yml\" \\
- \"${SEARX_SETTINGS_PATH}\"
+ \"${SEARXNG_SETTINGS_PATH}\"
.. group-tab:: searx/settings.yml
.. code-block:: sh
- $ sudo -H mkdir -p \"$(dirname ${SEARX_SETTINGS_PATH})\"
+ $ sudo -H mkdir -p \"$(dirname ${SEARXNG_SETTINGS_PATH})\"
$ sudo -H cp \"$SEARX_SRC/searx/settings.yml\" \\
- \"${SEARX_SETTINGS_PATH}\"
+ \"${SEARXNG_SETTINGS_PATH}\"
.. tabs::
@@ -151,7 +151,7 @@ ${fedora_build}
.. code-block:: sh
- $ sudo -H sed -i -e \"s/ultrasecretkey/\$(openssl rand -hex 16)/g\" \"$SEARX_SETTINGS_PATH\"
+ $ sudo -H sed -i -e \"s/ultrasecretkey/\$(openssl rand -hex 16)/g\" \"$SEARXNG_SETTINGS_PATH\"
.. END searx config
@@ -164,16 +164,16 @@ ${fedora_build}
.. code-block:: sh
# enable debug ..
- $ sudo -H sed -i -e \"s/debug : False/debug : True/g\" \"$SEARX_SETTINGS_PATH\"
+ $ sudo -H sed -i -e \"s/debug : False/debug : True/g\" \"$SEARXNG_SETTINGS_PATH\"
# start webapp
$ sudo -H -u ${SERVICE_USER} -i
(${SERVICE_USER})$ cd ${SEARX_SRC}
- (${SERVICE_USER})$ export SEARX_SETTINGS_PATH=\"${SEARX_SETTINGS_PATH}\"
+ (${SERVICE_USER})$ export SEARXNG_SETTINGS_PATH=\"${SEARXNG_SETTINGS_PATH}\"
(${SERVICE_USER})$ python searx/webapp.py
# disable debug
- $ sudo -H sed -i -e \"s/debug : True/debug : False/g\" \"$SEARX_SETTINGS_PATH\"
+ $ sudo -H sed -i -e \"s/debug : True/debug : False/g\" \"$SEARXNG_SETTINGS_PATH\"
Open WEB browser and visit http://$SEARX_INTERNAL_HTTP . If you are inside a
container or in a script, test with curl: