CCL Home Page
Up Directory CCL httpd-ssl.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

RETVAL=0

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

case "$1" in
  start)
        /usr/sbin/apachectl startssl
	RETVAL=$?
        echo
	;;
  stop)
        /usr/sbin/apachectl stop
	RETVAL=$?	
        echo
        ;;
  status)
	/usr/sbin/apachectl status 
	RETVAL=$?
        echo
	;;
  restart)
	/usr/sbin/apachectl stop 
        echo
	/usr/sbin/apachectl startssl 
	RETVAL=$?
        echo
	;;
  *)
	echo "Usage: $0 {start|stop|restart|reload|condrestart|status}"
	exit 1
esac

exit $RETVAL



Modified: Fri Aug 30 23:24:46 2002 GMT
Page accessed 4950 times since Tue Feb 4 12:55:10 2003 GMT