ports/net-mgmt/zabbix34-server/files/patch-src_zabbix__agent_zabbix__agentd.c
Danilo G. Baio 4ce0e08ab1 New ports: net-mgmt/zabbix34-[agent|frontend|proxy|server]
net-mgmt/zabbix32 -> net-mgmt/zabbix34

What's new in Zabbix 3.4.0:
https://www.zabbix.com/documentation/3.4/manual/introduction/whatsnew340

PR:		221779
Submitted by:	Pakhom Golynga <pg@pakhom.spb.ru>
2017-08-25 23:25:42 +00:00

11 lines
503 B
C

--- src/zabbix_agent/zabbix_agentd.c.orig 2016-09-25 16:15:50 UTC
+++ src/zabbix_agent/zabbix_agentd.c
@@ -522,7 +522,7 @@ static void set_defaults(void)
CONFIG_LOAD_MODULE_PATH = zbx_strdup(CONFIG_LOAD_MODULE_PATH, LIBDIR "/modules");
if (NULL == CONFIG_PID_FILE)
- CONFIG_PID_FILE = "/tmp/zabbix_agentd.pid";
+ CONFIG_PID_FILE = "/var/run/zabbix/zabbix_agentd.pid";
#endif
if (NULL == CONFIG_LOG_TYPE_STR)
CONFIG_LOG_TYPE_STR = zbx_strdup(CONFIG_LOG_TYPE_STR, ZBX_OPTION_LOGTYPE_FILE);