summaryrefslogtreecommitdiff
path: root/www/apache13-modssl/files/patch-apachectl
blob: 0eb64d59af3c40202bdcd12c146b39ca9e20f348 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- src/support/apachectl.orig	Sun Oct 26 20:53:07 2003
+++ src/support/apachectl	Mon Oct 27 22:27:30 2003
@@ -105,14 +105,14 @@
     restart)
 	if [ $RUNNING -eq 0 ]; then
 	    echo "$0 $ARG: httpd not running, trying to start"
-	    if $HTTPD ; then
+	    if $HTTPD -DSSL ; then
 		echo "$0 $ARG: httpd started"
 	    else
 		echo "$0 $ARG: httpd could not be started"
 		ERROR=5
 	    fi
 	else
-	    if $HTTPD -t >/dev/null 2>&1; then
+	    if $HTTPD -DSSL -t >/dev/null 2>&1; then
 		if kill -HUP $PID ; then
 		    echo "$0 $ARG: httpd restarted"
 		else
@@ -129,14 +129,14 @@
     graceful)
 	if [ $RUNNING -eq 0 ]; then
 	    echo "$0 $ARG: httpd not running, trying to start"
-	    if $HTTPD ; then
+	    if $HTTPD -DSSL ; then
 		echo "$0 $ARG: httpd started"
 	    else
 		echo "$0 $ARG: httpd could not be started"
 		ERROR=5
 	    fi
 	else
-	    if $HTTPD -t >/dev/null 2>&1; then
+	    if $HTTPD -DSSL -t >/dev/null 2>&1; then
 		if kill -USR1 $PID ; then
 		    echo "$0 $ARG: httpd gracefully restarted"
 		else
@@ -157,7 +157,7 @@
 	$LYNX $STATUSURL
 	;;
     configtest)
-	if $HTTPD -t; then
+	if $HTTPD -DSSL -t; then
 	    :
 	else
 	    ERROR=8