zabbix/SOURCES/agent2.conf.socket.patch

22 lines
667 B
Diff

diff -urN zabbix-6.4.0beta6.orig/src/go/conf/zabbix_agent2.conf zabbix-6.4.0beta6/src/go/conf/zabbix_agent2.conf
--- zabbix-6.4.0beta6.orig/src/go/conf/zabbix_agent2.conf 2023-01-12 18:58:00.992534889 +0200
+++ zabbix-6.4.0beta6/src/go/conf/zabbix_agent2.conf 2023-01-13 09:30:59.464813623 +0200
@@ -309,6 +309,8 @@
# Default:/tmp/agent.plugin.sock
# PluginSocket=
+PluginSocket=/run/zabbix/agent.plugin.sock
+
####### USER-DEFINED MONITORED PARAMETERS #######
### Option: UnsafeUserParameters
@@ -350,7 +352,7 @@
# Default:
# ControlSocket=
-ControlSocket=/tmp/agent.sock
+ControlSocket=/run/zabbix/agent.sock
####### TLS-RELATED PARAMETERS #######