You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/04/22 17:52:12 UTC

cvs commit: jakarta-tomcat/src/shell tomcat.sh

costin      01/04/22 08:52:12

  Modified:    src/shell tomcat.sh
  Log:
  Fix for #232, thanks mnorman@cup.hp.com (Mark Norman) for the report and
  fix.
  
  Submitted by:	mnorman@cup.hp.com (Mark Norman)
  
  Revision  Changes    Path
  1.23      +10 -2     jakarta-tomcat/src/shell/tomcat.sh
  
  Index: tomcat.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/shell/tomcat.sh,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- tomcat.sh	2001/03/21 06:41:36	1.22
  +++ tomcat.sh	2001/04/22 15:52:11	1.23
  @@ -1,6 +1,6 @@
   #!/bin/sh
   #
  -# $Id: tomcat.sh,v 1.22 2001/03/21 06:41:36 costin Exp $
  +# $Id: tomcat.sh,v 1.23 2001/04/22 15:52:11 costin Exp $
   
   # Shell script to start and stop the server
   
  @@ -123,7 +123,15 @@
   # We start the server up in the background for a couple of reasons:
   #   1) It frees up your command window
   #   2) You should use `stop` option instead of ^C to bring down the server
  -if [ "$1" = "start" ] ; then 
  +if [ "$1" = "start_msg" ]; then
  +  shift
  +  echo "Starting Tomcat Servlet Engine"
  +
  +elif [ "$1" = "stop_msg" ]; then
  +  shift
  +  echo "Stopping Tomcat Servlet Engine"
  +
  +elif [ "$1" = "start" ] ; then 
     shift 
   
     #Old code for -security: -Djava.security.manager -Djava.security.policy==${TOMCAT_HOME}/conf/tomcat.policy