3 # Startup script for the Apache Web Server
6 # description: Apache is a World Wide Web server. It is used to serve \
9 # pidfile: /var/run/httpd.pid
10 # config: /etc/httpd/conf/access.conf
11 # config: /etc/httpd/conf/httpd.conf
12 # config: /etc/httpd/conf/srm.conf
14 # Source function library.
15 . /etc/rc.d/init.d/functions
17 # Check that networking is up.
18 [ "${NETWORKING}" = "no" ] && exit0
20 # See how we were called.
25 touch /var/lock/subsys/httpd
28 show Shutting down httpd
30 rm -f /var/lock/subsys/httpd /var/run/httpd.pid
40 echo "Usage: $0 {start|stop|restart|status}"