CCL Home Page
Up Directory CCL httpd-jkl-init.txt
#!/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
#   hacked from pieces here and there by Jan Labanowski

# Source function library.
. /etc/rc.d/init.d/functions

case "$1" in
  start)
	/usr/local/apache_1.3.14/bin/apachectl startssl 
	;;
  stop)
	/usr/local/apache_1.3.14/bin/apachectl stop 
	;;
  status)
	/usr/local/apache_1.3.14/bin/apachectl status 
	;;
  restart)
	/usr/local/apache_1.3.14/bin/apachectl stop 
	/usr/local/apache_1.3.14/bin/apachectl startssl 
	;;
  *)
	echo "Usage: $0 {start|stop|restart|status}"
	exit 1
esac

Modified: Sun Jan 28 04:24:29 2001 GMT
Page accessed 3749 times since Tue Feb 4 19:28:15 2003 GMT