summaryrefslogtreecommitdiff
path: root/www/apache-tomcat6
diff options
context:
space:
mode:
authoradrianp <adrianp>2009-08-13 21:21:30 +0000
committeradrianp <adrianp>2009-08-13 21:21:30 +0000
commitb2034ca86d160236c9c5d5b1cddf06414476c2ef (patch)
treeda9f0264c60b3ccb46353ed2e5d9d0cb5f3d0a5f /www/apache-tomcat6
parent4131e8ba09a46e9cd81eaa22233efd5bbd6dc572 (diff)
downloadpkgsrc-b2034ca86d160236c9c5d5b1cddf06414476c2ef.tar.gz
Final fix in _stop() from spz@
Diffstat (limited to 'www/apache-tomcat6')
-rw-r--r--www/apache-tomcat6/files/tomcat.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache-tomcat6/files/tomcat.sh b/www/apache-tomcat6/files/tomcat.sh
index 725dbf165ae..34e1b77db76 100644
--- a/www/apache-tomcat6/files/tomcat.sh
+++ b/www/apache-tomcat6/files/tomcat.sh
@@ -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_start()
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
}