From ac2e1a9d0200f4544e4b6a4f1b3cb2b5e330ef1c Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 30 Nov 2018 09:09:26 +0100 Subject: [PATCH] remove php-fpm conf before packages --- scripts/remove | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index 99a2eef..9d60205 100644 --- a/scripts/remove +++ b/scripts/remove @@ -41,6 +41,13 @@ then yunohost service remove $app fi +#================================================= +# REMOVE PHP-FPM CONFIGURATION +#================================================= + +# Remove the dedicated php-fpm config +ynh_remove_fpm_config + #================================================= # REMOVE DEPENDENCIES #================================================= @@ -52,7 +59,7 @@ systemctl disable zabbix-server killall zabbix_server #rm -fr /etc/zabbix #rm -fr /var/www/zabbix -ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-frontend-php ynhzabbix-ynh-deps zabbix-release +ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-frontend-php ynhzabbix-ynh-deps zabbix-release ynhzabbix-ynh-deps #================================================= # REMOVE THE MYSQL DATABASE @@ -75,13 +82,6 @@ ynh_mysql_remove_db $db_user $db_name # Remove the dedicated nginx config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= - -# Remove the dedicated php-fpm config -ynh_remove_fpm_config - #================================================= # REMOVE LOGROTATE CONFIGURATION #=================================================