spacewalk/setup/share/tomcatX.conf.3 | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit cf399e84fa3b23aad6cdb5c5dc81b1fb3ff9eb23
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed May 4 16:16:44 2011 +0200
On RHEL 6, tomcat6 no longer sources the setenv.sh so we need to source it ourselves.
Unfortunatelly, the .conf file is processed twice in
/etc/rc.d/init.d/tomcat6 -- once it is sourced and then it is processed
via awk which creates a series of "export $the_original_line" commands.
Luckily, the semicolon hack seems to work and allows us to put
the sourcing there.
diff --git a/spacewalk/setup/share/tomcatX.conf.3 b/spacewalk/setup/share/tomcatX.conf.3
new file mode 100644
index 0000000..6269ee7
--- /dev/null
+++ b/spacewalk/setup/share/tomcatX.conf.3
@@ -0,0 +1,2 @@
+^_HACK_AROUND_PARSEOPTIONS=1.+setenv\.sh\n
+_HACK_AROUND_PARSEOPTIONS=1 ; . $CATALINA_HOME/bin/setenv.sh
Show replies by date