mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
parent
ff1ca4078e
commit
174ecaa78e
1 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue