diff options
author | jwise <jwise> | 2001-04-13 07:47:43 +0000 |
---|---|---|
committer | jwise <jwise> | 2001-04-13 07:47:43 +0000 |
commit | f29183d6864f51815ea0bf81c0d60cabc93ab9bc (patch) | |
tree | f22e131747eddbd00c6aa5db2efe7afa9eb8b3ad | |
parent | a7a1341f24d2d4bdd42d4452ae30cb391e0de706 (diff) | |
download | pkgsrc-f29183d6864f51815ea0bf81c0d60cabc93ab9bc.tar.gz |
Fix thinko in a message. Purely aesthetic.
-rw-r--r-- | www/jakarta-tomcat/files/tomcat.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/jakarta-tomcat/files/tomcat.sh b/www/jakarta-tomcat/files/tomcat.sh index b3ebe957ad7..cee849db0d2 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.3 2001/04/02 18:50:50 jwise Exp $ +# $NetBSD: tomcat.sh,v 1.4 2001/04/13 07:47:43 jwise Exp $ # # PROVIDE: tomcat # REQUIRE: DAEMON @@ -24,11 +24,16 @@ cmd=${1:-start} if [ -x ${command} ] then case ${cmd} in - run|start|stop) + run|start) echo "Starting ${name}." (cd ${PREFIX}/tomcat && ${command} ${cmd}) ;; + stop) + echo "Stopping ${name}." + (cd ${PREFIX}/tomcat && ${command} ${cmd}) + ;; + restart) ( $0 stop ) sleep 5 |