ports/net-mgmt/zabbix2-server/files/patch-src_zabbix__server_server.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
568 B
C

--- src/zabbix_server/server.c.orig 2016-09-01 07:22:52 UTC
+++ src/zabbix_server/server.c
@@ -207,7 +207,7 @@ static void zbx_set_defaults()
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_server.pid");
+ CONFIG_PID_FILE = zbx_strdup(CONFIG_PID_FILE, "/var/run/zabbix/zabbix_server.pid");
if (NULL == CONFIG_ALERT_SCRIPTS_PATH)
CONFIG_ALERT_SCRIPTS_PATH = zbx_strdup(CONFIG_ALERT_SCRIPTS_PATH, DATADIR "/zabbix/alertscripts");