From cb860263acd951b9fd3e9577fc782498b1abb4ee Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 28 Sep 2015 00:31:48 +0200 Subject: [PATCH] [fix] move noalyss config file after setting the password --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f06e879..4df8fe8 100644 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,6 @@ final_path=/var/www/noalyss sudo mkdir -p $final_path sudo cp -a ../sources/html/ $final_path sudo cp -a ../sources/include/ $final_path -sudo cp ../conf/noalyss.conf $final_path/include/config.inc.php sudo chown -R www-data: $final_path @@ -42,6 +41,8 @@ sudo su postgres -c "createuser -S -R --createdb noalyss" sudo su postgres -c "psql -c \"ALTER USER noalyss with PASSWORD '$db_pwd';\"" sed -i "s@DATABASE_PASSWORD@$db_pwd@g" ../conf/noalyss.conf +sudo cp ../conf/noalyss.conf $final_path/include/config.inc.php + finalphpconf=/etc/php5/fpm/pool.d/noalyss.conf sudo cp ../conf/php-fpm.conf $finalphpconf