#!/bin/sh
#
# Startup script for the Apache Web Server
#
# chkconfig: 345 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /var/run/httpd.pid
# config: /etc/httpd/conf/access.conf
# config: /etc/httpd/conf/httpd.conf
# config: /etc/httpd/conf/srm.conf
RETVAL=0
# Source function library.
. /etc/rc.d/init.d/functions
case "$1" in
start)
/usr/local/apache_1.3.14/bin/apache-tomcat startssl
RETVAL=$?
echo
;;
stop)
/usr/local/apache_1.3.14/bin/apache-tomcat stop
RETVAL=$?
echo
;;
status)
/usr/local/apache_1.3.14/bin/apache-tomcat status
RETVAL=$?
echo
;;
restart)
/usr/local/apache_1.3.14/bin/apache-tomcat stop
echo
/usr/local/apache_1.3.14/bin/apache-tomcat startssl
RETVAL=$?
echo
;;
*)
echo "Usage: $0 {start|stop|restart|reload|condrestart|status}"
exit 1
esac
exit $RETVAL
|