From 5af820fd8ec74ac41a8da731e964b9bc79fb92e4 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Thu, 11 Apr 2019 23:30:26 +0200 Subject: [PATCH] add restart agent after timeout reconfig --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 3088ecf..3f218d0 100644 --- a/scripts/install +++ b/scripts/install @@ -304,7 +304,8 @@ sed -i "126a DBPassword=$db_pwd" /etc/zabbix/zabbix_server.conf ynh_replace_string --match_string="# Timeout=3" --replace_string="# Timeout=3\nTimeout=10" --target_file=/etc/zabbix/zabbix_agentd.conf -systemctl enable zabbix-server && systemctl start zabbix-server +systemctl enable zabbix-agent && systemctl restart zabbix-agent +systemctl enable zabbix-server && systemctl restart zabbix-server #================================================= # STORE THE CONFIG FILE CHECKSUM