summaryrefslogtreecommitdiff
path: root/www/apache/files
diff options
context:
space:
mode:
authorabs <abs>2004-08-02 19:54:17 +0000
committerabs <abs>2004-08-02 19:54:17 +0000
commit3b2b9acab78c124302ad06f0603916b523b549be (patch)
treee743bfc01ec8c7dc4e5dd200e961a29770121b26 /www/apache/files
parent7c83f1b7f4639f743a8c6430ab3067a6b03d89c2 (diff)
downloadpkgsrc-3b2b9acab78c124302ad06f0603916b523b549be.tar.gz
Update apache to 1.3.31nb4:
Fix rc.d/apache restart to 'apache_doit stop; apache_doit start' Now in the case of apache_start=startssl and apache not running, 'rc.d/apache restart' will start apache with startssl.
Diffstat (limited to 'www/apache/files')
-rw-r--r--www/apache/files/apache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
index 45c9903a1eb..465bb8d9760 100644
--- a/www/apache/files/apache.sh
+++ b/www/apache/files/apache.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: apache.sh,v 1.24 2002/11/19 23:08:47 jlam Exp $
+# $NetBSD: apache.sh,v 1.25 2004/08/02 19:54:17 abs Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -25,7 +25,7 @@ required_files="@PKG_SYSCONFDIR@/httpd.conf"
extra_commands="reload"
start_cmd="apache_doit start"
stop_cmd="apache_doit stop"
-restart_cmd="apache_doit restart"
+restart_cmd="apache_doit stop ; apache_doit start" # For apache_start=startssl
reload_cmd="apache_doit reload"
apache_doit ()