From 789fc5948d23646dbd7ac9d1800138ffca0316b9 Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 10 May 2014 12:12:51 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/