spacewalk/admin/rhn-satellite | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
New commits:
commit c73e34ce0d0f8372de243c57fc18c067b6316616
Author: Justin Sherrill <jsherril(a)redhat.com>
Date: Thu Feb 11 13:41:18 2010 -0500
changing rhn-satellite service script to support tomcat6
diff --git a/spacewalk/admin/rhn-satellite b/spacewalk/admin/rhn-satellite
index 8d21d79..090984a 100755
--- a/spacewalk/admin/rhn-satellite
+++ b/spacewalk/admin/rhn-satellite
@@ -30,8 +30,16 @@ if [ -x /etc/init.d/oracle-xe ]; then
DB_SERVICE="oracle-xe"
fi
+if [ -x /etc/init.d/tomcat5 ]; then
+ TOMCAT="tomcat5"
+fi
+
+if [ -x /etc/init.d/tomcat6 ]; then
+ TOMCAT="tomcat6"
+fi
+
-SERVICES="jabberd $DB_SERVICE osa-dispatcher tomcat5 httpd Monitoring
MonitoringScout rhn-search cobblerd taskomatic"
+SERVICES="jabberd $DB_SERVICE osa-dispatcher $TOMCAT httpd Monitoring
MonitoringScout rhn-search cobblerd taskomatic"
. /etc/init.d/functions
Show replies by date