Explorar el Código

Update install

Mickael-Martin hace 7 años
padre
commit
e434741238
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      scripts/install

+ 4 - 0
scripts/install

@@ -300,6 +300,10 @@ sed -i "126a DBPassword=$db_pwd"  /etc/zabbix/zabbix_server.conf
 
 
 systemctl enable zabbix-server && systemctl start zabbix-server
 systemctl enable zabbix-server && systemctl start zabbix-server
 
 
+yunohost service add zabbix-server -d "Management of Zabbix Server - Monitoring server"
+yunohost service add zabbix-agent -d "Management of Zabbix Agent"
+
+
 #=================================================
 #=================================================
 # STORE THE CONFIG FILE CHECKSUM
 # STORE THE CONFIG FILE CHECKSUM
 #=================================================
 #=================================================