From ee2d25c8d624999c745601cc61dc91b5fd342092 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 18 Jun 1998 11:51:03 +0000 Subject: Use apachectl to start apache in rc.d/apache.sh --- www/apache13/Makefile | 4 ++-- www/apache2/Makefile | 4 ++-- www/apache20/Makefile | 4 ++-- www/apache21/Makefile | 4 ++-- www/apache22/Makefile | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'www') diff --git a/www/apache13/Makefile b/www/apache13/Makefile index 146111e41a5..0bfab708010 100644 --- a/www/apache13/Makefile +++ b/www/apache13/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: ache@nagual.pp.ru # -# $Id: Makefile,v 1.54 1998/06/09 19:49:59 ache Exp $ +# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $ # DISTNAME= apache_1.3.0 @@ -40,7 +40,7 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \ - echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \ + echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \ chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 146111e41a5..0bfab708010 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: ache@nagual.pp.ru # -# $Id: Makefile,v 1.54 1998/06/09 19:49:59 ache Exp $ +# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $ # DISTNAME= apache_1.3.0 @@ -40,7 +40,7 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \ - echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \ + echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \ chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 146111e41a5..0bfab708010 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: ache@nagual.pp.ru # -# $Id: Makefile,v 1.54 1998/06/09 19:49:59 ache Exp $ +# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $ # DISTNAME= apache_1.3.0 @@ -40,7 +40,7 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \ - echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \ + echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \ chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi diff --git a/www/apache21/Makefile b/www/apache21/Makefile index 146111e41a5..0bfab708010 100644 --- a/www/apache21/Makefile +++ b/www/apache21/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: ache@nagual.pp.ru # -# $Id: Makefile,v 1.54 1998/06/09 19:49:59 ache Exp $ +# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $ # DISTNAME= apache_1.3.0 @@ -40,7 +40,7 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \ - echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \ + echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \ chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 146111e41a5..0bfab708010 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: ache@nagual.pp.ru # -# $Id: Makefile,v 1.54 1998/06/09 19:49:59 ache Exp $ +# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $ # DISTNAME= apache_1.3.0 @@ -40,7 +40,7 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \ - echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \ + echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \ chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi -- cgit