summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwise <jwise>2001-04-13 07:47:43 +0000
committerjwise <jwise>2001-04-13 07:47:43 +0000
commiteb6c4e614038a4a3871c85aec0e104acf7d8b8b5 (patch)
treef22e131747eddbd00c6aa5db2efe7afa9eb8b3ad
parentc01026579d168099d753f628099ffb60f986ebf5 (diff)
downloadpkgsrc-eb6c4e614038a4a3871c85aec0e104acf7d8b8b5.tar.gz
Fix thinko in a message. Purely aesthetic.
-rw-r--r--www/jakarta-tomcat/files/tomcat.sh9
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