diff options
author | jwise <jwise@pkgsrc.org> | 2001-04-02 18:50:50 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2001-04-02 18:50:50 +0000 |
commit | 26c8fd12f2d70faa8b9a07871585afb9b80281a5 (patch) | |
tree | 2b82de8cb773f518c098b65a6d09ecd1b3ecd85c | |
parent | 4166f6096d8768da8cc35e5c34214693fe11a314 (diff) | |
download | pkgsrc-26c8fd12f2d70faa8b9a07871585afb9b80281a5.tar.gz |
Add a `run' rc script command corresponding to the tomcat `run' startup
directive -- run in the foreground for debugging purposes.
-rw-r--r-- | www/jakarta-tomcat/files/tomcat.sh | 4 |
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}) ;; |