From 3b2b9acab78c124302ad06f0603916b523b549be Mon Sep 17 00:00:00 2001 From: abs Date: Mon, 2 Aug 2004 19:54:17 +0000 Subject: 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. --- www/apache/files/apache.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/apache/files') 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 () -- cgit v1.2.3