diff --git a/scripts/upgrade b/scripts/upgrade index 6af4e0f..9160244 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,6 +110,12 @@ if [ -f "/etc/apt/sources.list.d/zabbix.list" ];then fi fi +#patch to remove old zabbix-client service +if [ ! -z "$(yunohost service status | grep zabbix-client)" ];then + ynh_print_info "remove zabbix-client old service" + yunohost service remove zabbix-client +fi + #================================================= # STANDARD UPGRADE STEPS #=================================================