Browse Source

Update remove

Mickael-Martin 7 năm trước cách đây
mục cha
commit
0c0352266c
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      scripts/remove

+ 6 - 0
scripts/remove

@@ -54,9 +54,15 @@ ynh_remove_fpm_config
 
 # Remove metapackage and its dependencies
 #ynh_remove_app_dependencies
+
+timeout 5 systemctl stop zabbix-server
+systemctl disable zabbix-server
+killall zabbix_server
+
 timeout 5 systemctl stop zabbix-server
 systemctl disable zabbix-server
 killall zabbix_server
+
 ynh_package_autopurge --allow-change-held-packages zabbix-server-mysql zabbix-frontend-php ynhzabbix-ynh-deps zabbix-release ynhzabbix-ynh-deps zabbix-agent
 #remove symlink
 rm /var/www/zabbix