#!/bin/bash # # Startup script for the Tomcat Web Server # # chkconfig: 345 84 16 # description: Tomcat is a World Wide Web server. It is used to serve \ # HTML, JSP, and servlets, and CGI if needed. # processname: java # Source function library. . /etc/rc.d/init.d/functions if [ -f /etc/sysconfig/tomcat41180 ]; then . /etc/sysconfig/tomcat41180 fi case "$1" in start) /usr/local/bin/start_tomcat41180 ;; stop) /usr/local/bin/stop_tomcat41180 ;; *) echo $"Usage: tomcat41180 {start|stop}" exit 1 esac exit 0