ports/net-mgmt/zabbix2-server/files/patch-src_zabbix__agent_zabbix__agentd.c
Torsten Zuehlsdorff b2293ba503 net-mgmt/zabbix2-server: Update from 2.0.17 to 2.0.18
- updated French translation; thanks to Zabbix translators
- enforced bash usage in mysql.size user parameter configuration
  script to avoid issues with different default shells;
  thanks to Timo Lindfors for reporting it
- fixed timeout being too low when sending configuration data to
  active proxy
- fixed loss of trailing whitespace in unquoted function parameters
  when creating calculated items with low level discovery

Also:
- Fix default path to PID
- Fix rc.d scripts to correct use PID file
- Remove IGNORE_WITH_MYSQL because referenced version was removed long ago

PR:           209890
Submitted by: pg@pakhom.spb.ru (maintainer)
Approved by:  pi (mentor)
2016-09-01 09:44:43 +00:00

11 lines
322 B
C

--- src/zabbix_agent/zabbix_agentd.c.orig 2016-09-01 07:20:23 UTC
+++ src/zabbix_agent/zabbix_agentd.c
@@ -249,7 +249,7 @@ static void set_defaults()
#ifdef USE_PID_FILE
if (NULL == CONFIG_PID_FILE)
- CONFIG_PID_FILE = "/tmp/zabbix_agentd.pid";
+ CONFIG_PID_FILE = "/var/run/zabbix/zabbix_agentd.pid";
#endif
}