1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

add restart agent after timeout reconfig

This commit is contained in:
Mickael-Martin 2019-04-11 23:30:26 +02:00
parent fbb980109b
commit 5af820fd8e

View file

@ -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 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 # STORE THE CONFIG FILE CHECKSUM