source: trunk/dports/java/tomcat5/files/tomcat5.sh @ 72252

Last change on this file since 72252 was 8862, checked in by jberry, 15 years ago

New port tomcat5 -- Tomcat 5 is a Java-based webserver and servlet container
with support for JSP 2.0. This port also provides variants to build and install
the jk2 connector which allows Tomcat to team directly with apache.

  • Property svn:eol-style set to native
File size: 318 bytes
Line 
1#!/bin/sh
2TOMCATPREFIX=
3TOMCATCTL=${TOMCATPREFIX}/bin/tomcatctl
4
5case "$1" in
6start)
7        [ -x ${TOMCATCTL} ] && ${TOMCATCTL} start > /dev/null && echo -n ' tomcat5'
8        ;;
9stop)
10        [ -x ${TOMCATCTL} ] && ${TOMCATCTL} stop > /dev/null && echo -n ' tomcat5'
11        ;;
12*)
13        echo "Usage: `basename $0` {start|stop}" >&2
14        ;;
15esac
16
17exit 0
Note: See TracBrowser for help on using the repository browser.