Updated Ubuntu images

This commit is contained in:
Alexey Pustovalov
2020-04-29 00:29:25 +03:00
52 changed files with 1186 additions and 9927 deletions

View File

@ -241,12 +241,6 @@ prepare_zbx_web_config() {
ZBX_WWW_ROOT="/usr/share/zabbix"
ZBX_WEB_CONFIG="$ZABBIX_ETC_DIR/web/zabbix.conf.php"
if [ -f "$ZBX_WWW_ROOT/conf/zabbix.conf.php" ]; then
rm -f "$ZBX_WWW_ROOT/conf/zabbix.conf.php"
fi
ln -s "$ZBX_WEB_CONFIG" "$ZBX_WWW_ROOT/conf/zabbix.conf.php"
PHP_CONFIG_FILE="/etc/php-fpm.d/zabbix.conf"
update_config_var "$PHP_CONFIG_FILE" "php_value[max_execution_time]" "${ZBX_MAXEXECUTIONTIME:-"600"}"