Blame SOURCES/agent2.conf.patch

9189c1
diff -urN zabbix-6.0.0alpha5.orig/src/go/conf/zabbix_agent2.conf zabbix-6.0.0alpha5/src/go/conf/zabbix_agent2.conf
9189c1
--- zabbix-6.0.0alpha5.orig/src/go/conf/zabbix_agent2.conf	2021-10-11 13:30:51.773826173 +0300
9189c1
+++ zabbix-6.0.0alpha5/src/go/conf/zabbix_agent2.conf	2021-10-11 13:35:07.332846424 +0300
9189c1
@@ -10,6 +10,8 @@
9189c1
 # Default:
9189c1
 # PidFile=/tmp/zabbix_agent2.pid
9189c1
 
9189c1
+PidFile=/run/zabbix/zabbix_agent2.pid
9189c1
+
9189c1
 ### Option: LogType
9189c1
 #	Specifies where log messages are written to:
9189c1
 #		system  - syslog
9189c1
@@ -27,6 +29,8 @@
9189c1
 # Default:
9189c1
 # LogFile=/tmp/zabbix_agent2.log
9189c1
 
9189c1
+LogFile=/var/log/zabbix/zabbix_agent2.log
9189c1
+
9189c1
 ### Option: LogFileSize
9189c1
 #	Maximum size of log file in MB.
9189c1
 #	0 - disable automatic log rotation.
9189c1
@@ -36,6 +40,8 @@
9189c1
 # Default:
9189c1
 # LogFileSize=1
9189c1
 
9189c1
+LogFileSize=0
9189c1
+
9189c1
 ### Option: DebugLevel
9189c1
 #	Specifies debug level:
9189c1
 #	0 - basic information about starting and stopping of Zabbix processes
9189c1
@@ -259,6 +265,8 @@
9189c1
 # Default:
9189c1
 # Include=
9189c1
 
9189c1
+Include=/etc/zabbix/zabbix_agent2.d/*.conf
9189c1
+
9189c1
 # Include=/usr/local/etc/zabbix_agent2.userparams.conf
9189c1
 # Include=/usr/local/etc/zabbix_agent2.conf.d/
9189c1
 # Include=/usr/local/etc/zabbix_agent2.conf.d/*.conf