summaryrefslogtreecommitdiff
path: root/www/apache20/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-06-18 11:51:03 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-06-18 11:51:03 +0000
commit2d780aacc31784e807096518748bbc25e0d6c9ef (patch)
tree019c3b7de8095fd086d08641637512351232d3e2 /www/apache20/Makefile
parentAdd a #include <errno.h> so that it compiles cleanly on NetBSD. (diff)
Use apachectl to start apache in rc.d/apache.sh
Notes
Notes: svn path=/head/; revision=11466
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r--www/apache20/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index 146111e41a57..0bfab7080101 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