mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
Fix problème de conf php-fpm à la mise à jour + pétouille
This commit is contained in:
parent
0553c945fb
commit
97f9c0dae3
2 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,7 @@ ynh_app_setting_set $app multisite $multisite
|
||||||
sudo mkdir "$final_path"
|
sudo mkdir "$final_path"
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
|
|
||||||
|
# Get source
|
||||||
SETUP_SOURCE
|
SETUP_SOURCE
|
||||||
|
|
||||||
# Grav install
|
# Grav install
|
||||||
|
@ -71,6 +72,7 @@ then
|
||||||
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create the php-fpm pool config
|
||||||
POOL_FPM
|
POOL_FPM
|
||||||
|
|
||||||
# Setup SSOwat
|
# Setup SSOwat
|
||||||
|
|
|
@ -27,6 +27,7 @@ fi
|
||||||
|
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
|
|
||||||
|
# Get source
|
||||||
SETUP_SOURCE
|
SETUP_SOURCE
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
@ -44,6 +45,9 @@ then
|
||||||
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create the php-fpm pool config
|
||||||
|
POOL_FPM
|
||||||
|
|
||||||
# Setup SSOwat
|
# Setup SSOwat
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
if [ "$is_public" = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
|
|
Loading…
Reference in a new issue