diff options
author | jwise <jwise@pkgsrc.org> | 2001-04-13 07:47:43 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2001-04-13 07:47:43 +0000 |
commit | 8d52d896edf5d442bf2f35b5f6c4b42ef567a0aa (patch) | |
tree | f22e131747eddbd00c6aa5db2efe7afa9eb8b3ad /www/jakarta-tomcat | |
parent | a3e29b1f6efbc45fe210a3460175d7e771b09b5b (diff) | |
download | pkgsrc-8d52d896edf5d442bf2f35b5f6c4b42ef567a0aa.tar.gz |
Fix thinko in a message. Purely aesthetic.
Diffstat (limited to 'www/jakarta-tomcat')
-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 |