pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache-tomcat6/files Final fix in _stop() from spz@



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eaa505e6d75f
branches:  trunk
changeset: 397480:eaa505e6d75f
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Aug 13 21:21:30 2009 +0000

description:
Final fix in _stop() from spz@

diffstat:

 www/apache-tomcat6/files/tomcat.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r f76da0f3b5f7 -r eaa505e6d75f www/apache-tomcat6/files/tomcat.sh
--- a/www/apache-tomcat6/files/tomcat.sh        Thu Aug 13 20:20:24 2009 +0000
+++ b/www/apache-tomcat6/files/tomcat.sh        Thu Aug 13 21:21:30 2009 +0000
@@ -1,6 +1,6 @@
 #! @RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: tomcat.sh,v 1.3 2009/08/12 21:51:49 adrianp Exp $
+# $NetBSD: tomcat.sh,v 1.4 2009/08/13 21:21:30 adrianp Exp $
 #
 # PROVIDE: tomcat
 # REQUIRE: DAEMON
@@ -66,7 +66,7 @@
 
 tomcat_stop()
 {
-       rc_pid=$(check_pidfile $pidfile "java")
+       rc_pid=$(check_pidfile $pidfile "${JAVA_HOME}/bin/java")
        @SU@ ${tomcat_user} -c "${command} stop"
        wait_for_pids $rc_pid
 }



Home | Main Index | Thread Index | Old Index