summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-10-27 17:20:43 +0100
committerAlexandre Flament <alex@al-f.net>2020-11-02 10:02:59 +0100
commitedef9d2f874fa8debe9b5820eda2aa1c65b3cde9 (patch)
treeb0823320e5e30ca71d20d68d830719e6bcd04aec /docs
parentdd23ad8ba27133f0f3214e66459cd511f98a8bce (diff)
downloadsearxng-edef9d2f874fa8debe9b5820eda2aa1c65b3cde9.tar.gz
searxng-edef9d2f874fa8debe9b5820eda2aa1c65b3cde9.zip
[doc] searx configuration - add 'mkdir /etc/searx' before copy
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r--docs/build-templates/searx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst
index 841dec3ad..b800e027f 100644
--- a/docs/build-templates/searx.rst
+++ b/docs/build-templates/searx.rst
@@ -132,6 +132,7 @@ ${fedora_build}
.. code-block:: sh
+ $ sudo -H mkdir -p \"$(dirname ${SEARX_SETTINGS_PATH})\"
$ sudo -H cp \"$SEARX_SRC/searx/settings.yml\" \"${SEARX_SETTINGS_PATH}\"
$ sudo -H sed -i -e \"s/ultrasecretkey/\\$(openssl rand -hex 16)/g\" \"$SEARX_SETTINGS_PATH\"
$ sudo -H sed -i -e \"s/{instance_name}/searx@\\$(uname -n)/g\" \"$SEARX_SETTINGS_PATH\"