diff options
author | abs <abs> | 2002-05-23 15:48:44 +0000 |
---|---|---|
committer | abs <abs> | 2002-05-23 15:48:44 +0000 |
commit | 000be467c74220398386be6d5699269c63001c0a (patch) | |
tree | eef6a15fb18bc6410ce76bacc218d24b4a06a81e /www/jakarta-tomcat/files | |
parent | 58d4b68f002d6c5ba2d7861b4dcfa22b6d03deee (diff) | |
download | pkgsrc-000be467c74220398386be6d5699269c63001c0a.tar.gz |
Add a 'flush' option to the rc.d script. Bump version to jakarta-tomcat-3.2.4nb1
If you've used tomcat this probably comes under the category of bugfix :)
Diffstat (limited to 'www/jakarta-tomcat/files')
-rw-r--r-- | www/jakarta-tomcat/files/tomcat.sh | 8 |
1 files changed, 6 insertions, 2 deletions
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 |