From 174ecaa78e13c6b58e7451ea1bfdb1eac40603d0 Mon Sep 17 00:00:00 2001 From: monsieur-a Date: Mon, 7 Jul 2014 18:59:07 +0200 Subject: [PATCH] Revert "php" This reverts commit 60c3c8ef554cde85b9db6e685a961c1a81039d45. --- scripts/install | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index d0b7adf..223a820 100644 --- a/scripts/install +++ b/scripts/install @@ -40,7 +40,10 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/piwigo.conf +sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/piwigo.conf +sudo cp ../conf/php-fpm.ini /etc/php5/fpm/conf.d/20-piwigo.ini +sudo sed -i "s@NAMETOCHANGE@piwigo@g" /etc/php5/fpm/pool.d/piwigo.conf # Copy files to the right place @@ -103,15 +106,7 @@ then sudo yunohost app setting piwigo protected_uris -v "/" sudo yunohost app ssowatconf fi -#configurer php -sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/piwigo.conf -sudo cp ../conf/php-fpm.ini /etc/php5/fpm/conf.d/20-piwigo.ini -sudo sed -i "s@NAMETOCHANGE@piwigo@g" /etc/php5/fpm/pool.d/piwigo.conf - -sudo service php5-fpm restart -sudo service nginx reload -sudo yunohost app ssowatconf # Remove temporary entry in /etc/hosts sudo sed -i '/yunopiwigo/d' /etc/hosts