diff --git a/scripts/install b/scripts/install index b2aba4e..7e3a138 100644 --- a/scripts/install +++ b/scripts/install @@ -24,8 +24,8 @@ sudo virtualenv /opt/searx sudo bash -c "source /opt/searx/bin/activate && pip install -r /opt/searx/requirements.txt" #Configuration Searx -sudo cp ../conf/settings.yml /opt/searx/ -sudo sed -i "s@CHANGEPATH@$path@g" /opt/searx/settings.yml +sudo cp ../conf/settings.yml /opt/searx/searx/ +sudo sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" /opt/searx/searx/settings.yml # Set permissions to searx directory #sudo chown -R www-data. /opt/searx/