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

remove old folders

This commit is contained in:
Mickael-Martin 2018-11-30 13:16:31 +01:00
parent ac2e1a9d02
commit 8dacf0e940

View file

@ -57,9 +57,9 @@ ynh_remove_fpm_config
timeout 5 systemctl stop zabbix-server
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 ynhzabbix-ynh-deps
ynh_secure_remove /var/www/zabbix
ynh_secure_remove /var/log/ynhzabbix
#=================================================
# REMOVE THE MYSQL DATABASE
@ -68,13 +68,6 @@ ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-fr
# Remove a database if it exists, along with the associated user
ynh_mysql_remove_db $db_user $db_name
#=================================================
# REMOVE APP MAIN DIR
#=================================================
# Remove the app directory securely
#ynh_secure_remove "$final_path"
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================