Просмотр исходного кода

add 2 check process after restore

Mickael-Martin 6 лет назад
Родитель
Сommit
fa79a817e1
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      scripts/restore

+ 6 - 0
scripts/restore

@@ -158,3 +158,9 @@ systemctl reload php7.0-fpm
 
 
 # Reload SSOwat config
 # Reload SSOwat config
 yunohost app ssowatconf
 yunohost app ssowatconf
+
+#test if zabbix server is started
+check_proc_zabbixagent
+
+#test if zabbix agent is started
+check_proc_zabbixserver