From 1b582df2427b4ac8e945106f2a3b287a275fe8cd Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 29 Mar 2019 14:32:18 +0100 Subject: [PATCH] systemctl start php7.0-fpm --- scripts/remove | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/remove b/scripts/remove index 29a5735..03e8a81 100644 --- a/scripts/remove +++ b/scripts/remove @@ -36,9 +36,11 @@ yunohost service remove zabbix-agent # Remove the dedicated php-fpm config ynh_remove_fpm_config - systemctl reload php7.0-fpm +#sometimes php7.0-fpm crash on removing conf... +systemctl start php7.0-fpm + #================================================= # REMOVE DEPENDENCIES #================================================= @@ -54,9 +56,6 @@ killall zabbix_agentd ynh_remove_app_dependencies -#remove symlink -rm /var/www/zabbix - #================================================= # REMOVE THE MYSQL DATABASE #================================================= @@ -100,6 +99,9 @@ fi # REMOVE THE CRON FILE #================================================= +#remove symlink +rm /var/www/zabbix + # Remove a directory securely ynh_secure_remove "/etc/zabbix"