From 367205eb05796e3996d069de0e3249b16da36ec7 Mon Sep 17 00:00:00 2001 From: jwise Date: Mon, 2 Apr 2001 18:50:50 +0000 Subject: Add a `run' rc script command corresponding to the tomcat `run' startup directive -- run in the foreground for debugging purposes. --- www/jakarta-tomcat/files/tomcat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/jakarta-tomcat/files') 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}) ;; -- cgit v1.2.3