1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

remove php-fpm conf before packages

This commit is contained in:
Mickael-Martin 2018-11-30 09:09:26 +01:00
parent b595305f61
commit ac2e1a9d02

View file

@ -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
#=================================================