summaryrefslogtreecommitdiff
path: root/searx/deploy
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-04-24 01:55:13 +0100
committerrafa_99 <raroma09@gmail.com>2022-04-24 01:55:13 +0100
commit246f80e3c340f5879b58b2b5a03f2dbe1b08a4b6 (patch)
treee669ab3169d94a0d4765436b6372e6b24551ed47 /searx/deploy
parent5f874597615daf93c04ce72856ffe9253256da47 (diff)
Missed -rf in cp command
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 b92dde9..c7da277 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 "searx/" "/etc/"
-sudo -H sed -i -e "s/ultrasecretkey/$(openssl rand -hex 16)/g" "/etc/searx/settings.yml"
+sudo -H cp -rf "searx/" "/etc/"
# uwsgi
sudo -H cp -rf uwsgi/ /etc/