1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Revert "php"

This reverts commit 60c3c8ef55.
This commit is contained in:
monsieur-a 2014-07-07 18:59:07 +02:00
parent ff1ca4078e
commit 174ecaa78e

View file

@ -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