From 13450fb9db427d449220edc8ef5421528df13f04 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Mon, 4 Nov 2019 14:09:37 +0100 Subject: [PATCH] restart services --- scripts/upgrade | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 8ab80ef..794191a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -153,6 +153,9 @@ then # Exit if an error occurs during the execution of the script ynh_abort_if_errors + yunohost service stop zabbix-server + yunohost service stop zabbix-agent + cp -rp /etc/zabbix /tmp/ cp -p /usr/share/zabbix/conf/zabbix.conf.php /tmp/ @@ -174,6 +177,9 @@ then 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" + yunohost service start zabbix-server + yunohost service start zabbix-agent + #test if zabbix server is started check_proc_zabbixagent