From owner-freebsd-questions@FreeBSD.ORG Mon Nov 1 23:04:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2857216A4D8 for ; Mon, 1 Nov 2004 23:04:02 +0000 (GMT) Received: from hotmail.com (bay9-dav16.bay9.hotmail.com [64.4.46.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0279743D48 for ; Mon, 1 Nov 2004 23:04:02 +0000 (GMT) (envelope-from riley6902@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Nov 2004 15:04:01 -0800 Received: from 208.40.173.129 by BAY9-DAV16.phx.gbl with DAV; Mon, 01 Nov 2004 23:03:39 +0000 X-Originating-IP: [208.40.173.129] X-Originating-Email: [riley6902@hotmail.com] X-Sender: riley6902@hotmail.com From: "aaron" To: References: <1385574078.20041101213617@wilbury.sk> Date: Mon, 1 Nov 2004 18:04:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: X-OriginalArrivalTime: 01 Nov 2004 23:04:01.0686 (UTC) FILETIME=[13A37360:01C4C067] cc: DanGer cc: Glenn Sieb Subject: Re: starting apche service on start up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 23:04:02 -0000 Thanks all! I added apache_enable="YES" to the file and all is well. I was expecting rc.conf to be in /usr/local/etc instead. Aaron ----- Original Message ----- From: "DanGer" To: "aaron" ; Sent: Monday, November 01, 2004 3:36 PM Subject: Re: starting apche service on start up > Hello aaron, > > Monday, November 1, 2004, 9:15:25 PM, you wrote: > >> Using FreeBSD 4.10 release and confused about what to do with the >> startup script in /usr/local/etc/rc.d/apache.sh when installing the >> port. The package on another machine works fine b/c it just has >> options to start and stop in /usr/local/etc/rc.d/apache.sh. > >> The port however has a totally different file asking to: > >> # Define these apache_* variables in one of these files: >> # /etc/rc.conf >> # /etc/rc.conf.local >> # /etc/rc.conf.d/apache >> # >> # DO NOT CHANGE THESE DEFAULT VALUES HERE > >> apache_enable=${apache_enable-"NO"} >> apache_flags=$(apache_flags-""} >> apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"} > >> I do not have rc.conf. What's the preferred way of starting >> apache on boot. Why not just do it the same way as the package? > > I really think, that you /etc/rc.conf have. > > just type: echo "apache_eneble="YES" >> /etc/rc.conf > and then /usr/local/etc/rc.d/apache.sh start > > this should works. > >> Aaron > > -- > Best regards > > +----------==/\/\==----------+ FreeBSD The > | DanGer | (__) Power > | DanGer@IRCnet ICQ261701668 | \\\'',) To > | http://danger.homeunix.org | \/ \ ^ Serve > +----------==\/\/==----------+ .\._/_) > >