]> granicus.if.org Git - apache/commitdiff
Allow apachectl to support mod_ssl's <IfDefine SSL> tags which the
authorCliff Woolley <jwoolley@apache.org>
Wed, 7 Nov 2001 19:19:05 +0000 (19:19 +0000)
committerCliff Woolley <jwoolley@apache.org>
Wed, 7 Nov 2001 19:19:05 +0000 (19:19 +0000)
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

support/apachectl.in

index c17c20b1bf89edf350f158fa4a5d4953b469f729..7b85809863927589a15cbf431aa0da2821493cd6 100644 (file)
@@ -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