freebsd-ports/net-mgmt/zabbix3-server/files/patch-src_zabbix_proxy_proxy.c
Kurt Jaeger 0716863f48 net-mgmt/zabbix3: add missing patches for the PID fix
PR:		209893
Pointy hat to:	pi
Submitted by:	pg@pakhom.spb.ru (maintainer)
MFH:		2016Q3
2016-10-03 09:36:20 +00:00

11 lines
519 B
C

--- src/zabbix_proxy/proxy.c.orig 2016-04-20 12:51:20.000000000 +0300
+++ src/zabbix_proxy/proxy.c 2016-05-13 14:46:44.193569184 +0300
@@ -389,7 +389,7 @@
CONFIG_SNMPTRAP_FILE = zbx_strdup(CONFIG_SNMPTRAP_FILE, "/tmp/zabbix_traps.tmp");
if (NULL == CONFIG_PID_FILE)
- CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/tmp/zabbix_proxy.pid");
+ CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/var/run/zabbix/zabbix_proxy.pid");
if (NULL == CONFIG_TMPDIR)
CONFIG_TMPDIR = zbx_strdup(CONFIG_TMPDIR, "/tmp");