From d3454e2eca85913b7ff5ad5ebea50c9e2c9e5304 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 17 Apr 2020 15:27:58 +0200 Subject: [PATCH] reload php-fpm after restore --- scripts/restore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6026426..d9634df 100755 --- a/scripts/restore +++ b/scripts/restore @@ -90,10 +90,11 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./ #================================================= # GENERIC FINALIZATION #================================================= -# RELOAD NGINX +# RELOAD NGINX AND PHP-FPM #================================================= -ynh_script_progression --message="Reloading nginx web server..." +ynh_script_progression --message="Reloading nginx web server and php-fpm..." +ynh_systemd_action --service_name=php7.0-fpm --action=reload ynh_systemd_action --service_name=nginx --action=reload #=================================================