summaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat/files
diff options
context:
space:
mode:
authorjwise <jwise>2001-04-02 18:50:50 +0000
committerjwise <jwise>2001-04-02 18:50:50 +0000
commit367205eb05796e3996d069de0e3249b16da36ec7 (patch)
tree2b82de8cb773f518c098b65a6d09ecd1b3ecd85c /www/jakarta-tomcat/files
parent4f0e1ebae5d2275696da23062ceced1e7c7d295f (diff)
downloadpkgsrc-367205eb05796e3996d069de0e3249b16da36ec7.tar.gz
Add a `run' rc script command corresponding to the tomcat `run' startup
directive -- run in the foreground for debugging purposes.
Diffstat (limited to 'www/jakarta-tomcat/files')
-rw-r--r--www/jakarta-tomcat/files/tomcat.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/jakarta-tomcat/files/tomcat.sh b/www/jakarta-tomcat/files/tomcat.sh
index 7758bbfec9d..b3ebe957ad7 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.2 2001/03/28 04:28:44 jwise Exp $
+# $NetBSD: tomcat.sh,v 1.3 2001/04/02 18:50:50 jwise Exp $
#
# PROVIDE: tomcat
# REQUIRE: DAEMON
@@ -24,7 +24,7 @@ cmd=${1:-start}
if [ -x ${command} ]
then
case ${cmd} in
- start|stop)
+ run|start|stop)
echo "Starting ${name}."
(cd ${PREFIX}/tomcat && ${command} ${cmd})
;;