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

Revert "test php"

This reverts commit 727e29d5cb.
This commit is contained in:
monsieur-a 2014-07-07 18:59:01 +02:00
parent 727e29d5cb
commit ff1ca4078e
3 changed files with 11 additions and 5 deletions

View file

@ -39,7 +39,7 @@ final_path=/var/www/piwigo
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
# Copy files to the right place
@ -103,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

View file

@ -10,8 +10,6 @@ mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localh
sudo rm -rf /var/www/piwigo
sudo rm -f /etc/nginx/conf.d/$domain.d/piwigo.conf
sudo rm -rf /home/yunohost.app/piwigo
sudo rm /etc/php5/fpm/pool.d/piwigo.conf
sudo rm /etc/php5/fpm/conf.d/20-piwigo.ini
sudo service nginx reload

View file

@ -9,9 +9,9 @@ mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localh
sudo rm -rf /var/www/piwigo
sudo rm -f /etc/nginx/conf.d/$domain.d/piwigo.conf
sudo rm -f /etc/php5/fpm/pool.d/piwigo.conf
sudo rm -f /etc/php5/fpm/conf.d/20-piwigo.ini
sudo rm -rf /home/yunohost.app/piwigo
sudo rm /etc/php5/fpm/pool.d/piwigo.conf
sudo rm/etc/php5/fpm/conf.d/20-piwigo.ini
sudo service nginx reload