aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c')
-rw-r--r--net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c b/net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c
new file mode 100644
index 000000000000..b26fa305d327
--- /dev/null
+++ b/net-mgmt/zabbix22-server/files/patch-src_zabbix__server_server.c
@@ -0,0 +1,11 @@
+--- src/zabbix_server/server.c.orig 2016-09-13 16:28:31 UTC
++++ src/zabbix_server/server.c
+@@ -226,7 +226,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");