2 # Begin $rc_base/init.d/apache
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
12 echo "Starting Apache daemon..."
13 /usr
/sbin
/apachectl
-k start
18 echo "Stopping Apache daemon..."
19 /usr
/sbin
/apachectl
-k stop
24 echo "Restarting Apache daemon..."
25 /usr
/sbin
/apachectl
-k restart
30 statusproc
/usr
/sbin
/httpd
34 echo "Usage: $0 {start|stop|restart|status}"
39 # End $rc_base/init.d/apache