diff options
-rw-r--r-- | www/jakarta-tomcat/Makefile | 3 | ||||
-rw-r--r-- | www/jakarta-tomcat/files/tomcat.sh | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/www/jakarta-tomcat/Makefile b/www/jakarta-tomcat/Makefile index c15ae94fdcb..63cabb05996 100644 --- a/www/jakarta-tomcat/Makefile +++ b/www/jakarta-tomcat/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2002/04/19 15:54:21 jwise Exp $ +# $NetBSD: Makefile,v 1.29 2002/05/23 15:48:44 abs Exp $ DISTNAME= jakarta-tomcat-3.2.4-src PKGNAME= jakarta-tomcat-3.2.4 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/src/ diff --git a/www/jakarta-tomcat/files/tomcat.sh b/www/jakarta-tomcat/files/tomcat.sh index 800c051ef9c..e8c15da8540 100644 --- a/www/jakarta-tomcat/files/tomcat.sh +++ b/www/jakarta-tomcat/files/tomcat.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: tomcat.sh,v 1.6 2002/05/17 13:24:57 abs Exp $ +# $NetBSD: tomcat.sh,v 1.7 2002/05/23 15:48:45 abs Exp $ # # PROVIDE: tomcat # REQUIRE: DAEMON @@ -77,8 +77,12 @@ then $0 start ;; + flush) + cd ${PREFIX}/tomcat/work && rm -rf */* + ;; + *) - echo 1>&2 "Usage: $0 [restart|start|stop]" + echo 1>&2 "Usage: $0 [restart|start|stop|flush]" exit 1 ;; esac |