1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
This commit is contained in:
monsieur-a 2014-07-06 19:35:23 +02:00
parent 9930d9828e
commit 60c3c8ef55

View file

@ -40,10 +40,7 @@ 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
@ -106,7 +103,15 @@ 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