ports/148875: [patch] Fix www/tomcat6 rc script

Mike Jakubik mike.jakubik at intertainservices.com
Fri Jul 23 19:20:06 UTC 2010


>Number:         148875
>Category:       ports
>Synopsis:       [patch] Fix www/tomcat6 rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 23 19:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Mike Jakubik
>Release:        8.1-PRE
>Organization:
>Environment:
FreeBSD illidan.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jul 20 16:38:39 EDT 2010     root at illidan.local:/usr/obj/usr/src/sys/ILLIDAN  amd64
>Description:
The current tomcat6 rc startup script does not work with the status command. The command always returns that tomcat is not running. Below is a fix to address the issue.

Thanks.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN tomcat6.orig/files/tomcat6.sh.in tomcat6/files/tomcat6.sh.in
--- tomcat6.orig/files/tomcat6.sh.in	2010-07-23 15:11:10.000000000 -0400
+++ tomcat6/files/tomcat6.sh.in	2010-07-23 15:11:42.000000000 -0400
@@ -74,6 +74,7 @@
 name="tomcat%%TOMCAT_VERSION%%"
 rcvar=`set_rcvar`
 pidfile="/var/run/%%APP_SHORTNAME%%.pid"
+procname="java"
 
 load_rc_config "${name}"
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list