[152601] trunk/dports/net/zabbix3/files/log_and_pid_locations.patch
eborisch at macports.org
eborisch at macports.org
Mon Sep 12 17:16:01 PDT 2016
Revision: 152601
https://trac.macports.org/changeset/152601
Author: eborisch at macports.org
Date: 2016-09-12 17:16:01 -0700 (Mon, 12 Sep 2016)
Log Message:
-----------
zabbix3: Add missing portfile.
Added Paths:
-----------
trunk/dports/net/zabbix3/files/log_and_pid_locations.patch
Added: trunk/dports/net/zabbix3/files/log_and_pid_locations.patch
===================================================================
--- trunk/dports/net/zabbix3/files/log_and_pid_locations.patch (rev 0)
+++ trunk/dports/net/zabbix3/files/log_and_pid_locations.patch 2016-09-13 00:16:01 UTC (rev 152601)
@@ -0,0 +1,45 @@
+--- conf/zabbix_agentd.conf.orig 2016-02-16 14:03:55.000000000 -0600
++++ conf/zabbix_agentd.conf 2016-02-16 14:08:16.000000000 -0600
+@@ -10,6 +10,10 @@
+ # Default:
+ # PidFile=/tmp/zabbix_agentd.pid
+
++# MACPORTS CONFIG. PLEASE ONLY EDIT IF YOU KNOW WHAT YOU ARE DOING
++PidFile=%%PREFIX%%/var/run/zabbix/zabbix_agentd.pid
++# END MACPORTS CONFIG
++
+ ### Option: LogType
+ # Specifies where log messages are written to:
+ # system - syslog
+@@ -27,7 +31,7 @@
+ # Default:
+ # LogFile=
+
+-LogFile=/tmp/zabbix_agentd.log
++LogFile=%%PREFIX%%/var/log/zabbix/zabbix_agentd.log
+
+ ### Option: LogFileSize
+ # Maximum size of log file in MB.
+--- conf/zabbix_server.conf.orig 2016-02-16 14:04:00.000000000 -0600
++++ conf/zabbix_server.conf 2016-02-16 14:08:34.000000000 -0600
+@@ -35,7 +35,8 @@
+ # Default:
+ # LogFile=
+
+-LogFile=/tmp/zabbix_server.log
++LogFile=%%PREFIX%%/var/log/zabbix/zabbix_server.log
++# END MACPORTS CONFIG
+
+ ### Option: LogFileSize
+ # Maximum size of log file in MB.
+@@ -67,6 +68,10 @@
+ # Default:
+ # PidFile=/tmp/zabbix_server.pid
+
++# MACPORTS CONFIG. PLEASE ONLY EDIT IF YOU KNOW WHAT YOU ARE DOING
++PidFile=%%PREFIX%%/var/run/zabbix/zabbix_server.pid
++# END MACPORTS CONFIG
++#
+ ### Option: DBHost
+ # Database host name.
+ # If set to localhost, socket is used for MySQL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160912/bd8be1c9/attachment.html>
More information about the macports-changes
mailing list