#!/bin/dash
# Apache HTTP server
# Description: Apache Web Server
#

case "$1" in
	start)    apachectl -k start ;;
	restart)  apachectl -k restart ;;
	stop)     apachectl -k stop ;;
				
	status)
		killall -0 httpd 2>/dev/null && echo "httpd is running." || echo "httpd is stopped."
		;;		
		
esac
