소스 검색

add service in management page of yunohost

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

+ 5 - 0
scripts/upgrade

@@ -156,6 +156,11 @@ then
 	    
 	    rm -fr /tmp/zabbix*
 	    
+	    #If needed.
+	    yunohost service add snmpd -d "Management of SNMP Daemon"
+        yunohost service add zabbix-server -d "Management Zabbix server daemon : Collect, agregate, compute and notify"
+        yunohost service add zabbix-agent -d "Management Zabbix agent daemon : send informations about this host to the server"
+	    
 	    #test if zabbix server is started
         check_proc_zabbixagent