Commit c256adb5 authored by Cliff Woolley's avatar Cliff Woolley
Browse files

Allow apachectl to support mod_ssl's <IfDefine SSL> tags which the

group decided to keep.

Obtained from:	mod_ssl 2.x by RSE
Submitted by:	Madhu Mathihalli


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91788 13f79535-47bb-0310-9956-ffa450edef68
parent 94094889
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -78,6 +78,18 @@ do
	    ERROR=3
	fi
	;;
    startssl|sslstart|start-SSL)
        if [ $RUNNING -eq 1 ]; then
            echo "$0 $ARG: @progname@ (pid $PID) already running"
            continue
        fi
        if $HTTPD -DSSL; then
            echo "$0 $ARG: @progname@ started"
        else
            echo "$0 $ARG: @progname@ could not be started"
            ERROR=3
        fi
        ;;
    stop)
	if [ $RUNNING -eq 0 ]; then
	    echo "$0 $ARG: $STATUS"
@@ -156,6 +168,7 @@ do
	cat <<EOF

start      - start @progname@
startssl   - start @progname@ with SSL enabled
stop       - stop @progname@
restart    - restart @progname@ if running by sending a SIGHUP or start if 
             not running