From b77ccdcfba70d7279cc01d3c7847144338ee8a23 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Wed, 31 May 2017 15:50:08 +0200 Subject: [PATCH] [fix] php5-fpm bug --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 0bf8aea..f7dcf99 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,7 +37,7 @@ if [ -f $nginx_conf ]; then You should safely delete it before restoring this app." fi # Check configuration files php-fpm -phpfpm_conf="/etc/php5/fpm/pool.d/php-fpm-${app}.conf" +phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf" if [ -f $phpfpm_conf ]; then ynh_die "The PHP FPM configuration already exists at '${phpfpm_conf}'. You should safely delete it before restoring this app." @@ -76,5 +76,6 @@ then fi # Reload service +sudo systemctl reload php5-fpm sudo systemctl reload nginx sudo yunohost app ssowatconf \ No newline at end of file