#!/bin/sh
#
# Startup script for 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



. /etc/rc.d/init.d/functions

apachectl=/usr/sbin/apachectl

case "$1" in
    start)
	echo -n "Starting Apache: "
	${apachectl} start
	;;
    stop)
	echo -n "Shutting down Apache: "
	${apachectl} stop
	;;
    restart)
	$0 stop
	$0 start
	;;
    *)
	echo "Usage: $0 [start|stop|restart]"
esac
