commit 421f47ff845f01e012e9694b7f99b59ae6161ea1
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Aug 27 16:08:40 2013 +0300

    jsvc-1.0.15 wants full path for re-exec
    
    JSVC re-exec requires execution with an absolute or relative path

 apache-tomcat.init | 2 +-
 tomcat.spec        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index 23803c1..4d9dd80 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -13,7 +13,7 @@ Summary:      Web server and Servlet/JSP Engine, RI for 
Servlet %{servletapiver}/JSP
 Summary(pl.UTF-8):     Serwer www i silnik Servlet/JSP będący wzorcową 
implementacją API Servlet %{servletapiver}/JSP %{jspapiver}
 Name:          tomcat
 Version:       7.0.41
-Release:       1
+Release:       2
 License:       Apache v2.0
 Group:         Networking/Daemons/Java
 Source0:       
http://www.apache.org/dist/tomcat/tomcat-7/v%{version}/src/apache-%{name}-%{version}-src.tar.gz
diff --git a/apache-tomcat.init b/apache-tomcat.init
old mode 100644
new mode 100755
index 21b7612..ff0a2fa
--- a/apache-tomcat.init
+++ b/apache-tomcat.init
@@ -65,7 +65,7 @@ start() {
                msg_starting tomcat
                busy
                cd $CATALINA_BASE
-               jsvc -user tomcat -procname tomcat \
+               /usr/bin/jsvc -user tomcat -procname tomcat \
                        $JSVC_OPTS \
                        -Dcatalina.base=${CATALINA_BASE} \
                        -Dcatalina.home=${CATALINA_HOME} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/421f47ff845f01e012e9694b7f99b59ae6161ea1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to