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"