From 757bdca600796fbd4d36c7565d0d2ecd8209e620 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Mon, 27 Apr 2020 18:43:33 +0200 Subject: [PATCH] patch to remove old zabbix-client service --- scripts/upgrade | 6 ++++++ 1 file changed, 6 insertions(+) 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 #=================================================