소스 검색

patch to remove old zabbix-client service

Mickael-Martin 5 년 전
부모
커밋
757bdca600
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      scripts/upgrade

+ 6 - 0
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
 #=================================================