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

Fix problème de conf php-fpm à la mise à jour + pétouille

This commit is contained in:
magikcypress 2017-03-26 15:06:27 +02:00
parent e2bc63b1b5
commit 56606a45c6
2 changed files with 6 additions and 0 deletions

View file

@ -47,6 +47,7 @@ GENERATE_DB $app # Create a database and a dedicated user in the app name
sudo mkdir "$final_path"
ynh_app_setting_set $app final_path $final_path
# Get source
SETUP_SOURCE
# Set permissions spip directory
@ -67,6 +68,7 @@ then
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
fi
# Create the php-fpm pool config
POOL_FPM
sudo cp ../conf/connect.php $final_path/config/connect.php

View file

@ -28,6 +28,7 @@ root_pwd=$(sudo cat /etc/yunohost/mysql)
final_path=/var/www/$app
# Get source
SETUP_SOURCE
db_name=$app
@ -44,6 +45,9 @@ then
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
fi
# Create the php-fpm pool config
POOL_FPM
# Setup SSOwat
ynh_app_setting_set "$app" is_public "$is_public"
if [ "$is_public" = "Yes" ];