summaryrefslogtreecommitdiff
path: root/searx/deploy
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-04-24 01:43:40 +0100
committerrafa_99 <raroma09@gmail.com>2022-04-24 01:43:40 +0100
commit5f874597615daf93c04ce72856ffe9253256da47 (patch)
treeea3df188438877e82277ecd37e0efc416d8f9e8a /searx/deploy
parentfeac620aaf34c903a432ddd02404fd17456f6705 (diff)
Updated searX configs
Diffstat (limited to 'searx/deploy')
-rwxr-xr-xsearx/deploy3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/deploy b/searx/deploy
index 92d9a4e..b92dde9 100755
--- a/searx/deploy
+++ b/searx/deploy
@@ -22,8 +22,7 @@ sudo -H -u searx /usr/local/searx/searx-pyenv/bin/pip install -e "/usr/local/sea
## Configuring SearX
sudo -H mkdir -p "/etc/searx"
-sudo -H cp "/usr/local/searx/searx-src/utils/templates/etc/searx/use_default_settings.yml" "/etc/searx/settings.yml"
-
+sudo -H cp "searx/" "/etc/"
sudo -H sed -i -e "s/ultrasecretkey/$(openssl rand -hex 16)/g" "/etc/searx/settings.yml"
# uwsgi