freebsd-ports/net-mgmt/zabbix22-server/files/patch-src_zabbix__agent_zabbix__agentd.c
Torsten Zuehlsdorff e60bd056a2 net-mgmt/zabbix22-server: Update from 2.2.12 to 2.2.14
- http://www.zabbix.com/rn2.2.13.php
- http://www.zabbix.com/rn2.2.14.php

Also:
- Fix default path to PID
- Fix rc.d scripts to correct use PID file
- Remove IGNORE_WITH_PHP and IGNORE_WITH_MYSQL because the
  ignored versions no longer exists

PR:           209891
Submitted by: pg@pakhom.spb.ru (maintainer)
Approved by:  pi (mentor)
2016-09-14 13:17:24 +00:00

11 lines
326 B
C

--- src/zabbix_agent/zabbix_agentd.c.orig 2016-09-13 16:27:58 UTC
+++ src/zabbix_agent/zabbix_agentd.c
@@ -271,7 +271,7 @@ static void set_defaults(void)
#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
}