trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/3] git commit: TS-1294 initscript mentions using /etc/sysconfig/trafficserver, but doesn't use it.
Date Tue, 12 Jun 2012 03:00:02 GMT
TS-1294 initscript mentions using /etc/sysconfig/trafficserver, but
doesn't use it.

Author: Jan-Frode Myklebust
Review: Leif


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/96f33dfb
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/96f33dfb
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/96f33dfb

Branch: refs/heads/master
Commit: 96f33dfb11348f8e8d05d2498c4bd18f4b9068f6
Parents: 2a60084
Author: Jan-Frode Myklebust <janfrode@transo.net>
Authored: Mon Jun 11 20:40:54 2012 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Mon Jun 11 20:40:54 2012 -0600

----------------------------------------------------------------------
 rc/trafficserver.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/96f33dfb/rc/trafficserver.in
----------------------------------------------------------------------
diff --git a/rc/trafficserver.in b/rc/trafficserver.in
index 95155e2..da85b9c 100644
--- a/rc/trafficserver.in
+++ b/rc/trafficserver.in
@@ -143,6 +143,9 @@ fi
 # Ubuntu: Read configuration variable file if it is present
 test -r /etc/default/$NAME && . /etc/default/$NAME
 
+# RHEL/Fedora: Read configuration variable file if it is present
+test -r /etc/sysconfig/$NAME && . /etc/sysconfig/$NAME
+
 # Ubuntu: Load the VERBOSE setting and other rcS variables
 test -f /etc/default/rcS && . /etc/default/rcS
 


Mime
View raw message