From 0e253b212fc9f7ffffc841ed0e0b3fc5139e4ab1 Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 10 May 2014 12:16:24 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7e3a138..cff26b5 100644 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,8 @@ 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/ +sudo useradd searx -d /opt/searx +sudo chown searx:searx -R /opt/searx # Copy uwsgi config sudo cp ../conf/searx.ini /etc/uwsgi/apps-available/