diff options
author | ache <ache@FreeBSD.org> | 1998-06-18 19:51:03 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-06-18 19:51:03 +0800 |
commit | ee2d25c8d624999c745601cc61dc91b5fd342092 (patch) | |
tree | fc357f1bf920f23f4e7443bff7b4e059d14c1f8c /www/apache22 | |
parent | c8d4d5117902346d39c1210725e244259b574e0e (diff) | |
download | freebsd-ports-gnome-ee2d25c8d624999c745601cc61dc91b5fd342092.tar.gz freebsd-ports-gnome-ee2d25c8d624999c745601cc61dc91b5fd342092.tar.zst freebsd-ports-gnome-ee2d25c8d624999c745601cc61dc91b5fd342092.zip |
Use apachectl to start apache in rc.d/apache.sh
Diffstat (limited to 'www/apache22')
-rw-r--r-- | www/apache22/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 146111e41a57..0bfab7080101 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 |