mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update _common.sh
This commit is contained in:
parent
04b3f2f4ac
commit
3f45289675
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ change_timeoutAgent () {
|
||||||
ynh_replace_string --match_string="# Timeout=3" --replace_string="Timeout=10" --target_file=/etc/zabbix/zabbix_agentd.conf
|
ynh_replace_string --match_string="# Timeout=3" --replace_string="Timeout=10" --target_file=/etc/zabbix/zabbix_agentd.conf
|
||||||
grep -C 2 "Timeout" /etc/zabbix/zabbix_agentd.conf
|
grep -C 2 "Timeout" /etc/zabbix/zabbix_agentd.conf
|
||||||
systemctl restart zabbix-agent
|
systemctl restart zabbix-agent
|
||||||
ynh_print_info --message="Zabbix agent timeout updated !"
|
ynh_print_info --message="Zabbix agent timeout updated!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue