FreeBSD Bugzilla – Attachment 216676 Details for
Bug 248185
[patch] Fix missing TZ env var for sysutils/rsyslog8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to add/set a user-configurable TZ env var
rsyslog8.diff.txt (text/plain), 890 bytes, created by
Ryan Steinmetz
on 2020-07-22 17:02:54 UTC
(
hide
)
Description:
Patch to add/set a user-configurable TZ env var
Filename:
MIME Type:
Creator:
Ryan Steinmetz
Created:
2020-07-22 17:02:54 UTC
Size:
890 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 542876) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= rsyslog > PORTVERSION= 8.2006.0 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/ > >Index: files/rsyslogd.in >=================================================================== >--- files/rsyslogd.in (revision 542876) >+++ files/rsyslogd.in (working copy) >@@ -17,9 +17,12 @@ > : ${rsyslogd_enable:="NO"} > : ${rsyslogd_pidfile:="/var/run/rsyslogd.pid"} > : ${rsyslogd_config:="%%PREFIX%%/etc/rsyslog.conf"} >+: ${rsyslogd_tz:="/etc/localtime"} > pidfile="${rsyslogd_pidfile}" > command_args="-i ${pidfile} -f ${rsyslogd_config}" > required_files="${rsyslogd_config}" > extra_commands="reload" > >+# Set TZ variable before launching >+export TZ=${rsyslogd_tz} > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 248185
: 216676