diff options
author | adrianp <adrianp> | 2009-08-13 21:21:30 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2009-08-13 21:21:30 +0000 |
commit | 89b053ebf92298e3579a6da4fbcbb7f5c84b27eb (patch) | |
tree | da9f0264c60b3ccb46353ed2e5d9d0cb5f3d0a5f /www/apache-tomcat6 | |
parent | 1bdeb6effa99948274ccf30257b9b949ad536669 (diff) | |
download | pkgsrc-89b053ebf92298e3579a6da4fbcbb7f5c84b27eb.tar.gz |
Final fix in _stop() from spz@
Diffstat (limited to 'www/apache-tomcat6')
-rw-r--r-- | www/apache-tomcat6/files/tomcat.sh | 4 |
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 } |