From 97f9c0dae3617ff353b0f79960482aa7480e4a84 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sun, 26 Mar 2017 15:06:37 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20probl=C3=A8me=20de=20conf=20php-fpm=20?= =?UTF-8?q?=C3=A0=20la=20mise=20=C3=A0=20jour=20+=20p=C3=A9touille?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 2 ++ scripts/upgrade | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 57b9380..8bedfa5 100644 --- a/scripts/install +++ b/scripts/install @@ -43,6 +43,7 @@ ynh_app_setting_set $app multisite $multisite sudo mkdir "$final_path" ynh_app_setting_set $app final_path $final_path +# Get source SETUP_SOURCE # Grav install @@ -71,6 +72,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 # Setup SSOwat diff --git a/scripts/upgrade b/scripts/upgrade index 6fd7068..203b3d2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,6 +27,7 @@ fi final_path=/var/www/$app +# Get source SETUP_SOURCE # 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 fi +# Create the php-fpm pool config +POOL_FPM + # Setup SSOwat ynh_app_setting_set "$app" is_public "$is_public" if [ "$is_public" = "Yes" ];