From owner-freebsd-questions Wed Nov 18 13:21:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08902 for freebsd-questions-outgoing; Wed, 18 Nov 1998 13:21:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08890 for ; Wed, 18 Nov 1998 13:21:32 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.1a/8.9.1) with ESMTP id VAA25304; Wed, 18 Nov 1998 21:20:44 GMT Message-ID: <36533A2A.B626C723@tdx.co.uk> Date: Wed, 18 Nov 1998 21:20:42 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Gardella CC: Jeroen Ruigrok/Asmodai , freebsd-questions@FreeBSD.ORG, Aaron Clow Subject: Re: Apache autostart upon reboot References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Patrick Gardella wrote: > Put a script in /usr/local/etc/rc.d > > #!/bin/sh > > [ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd' > > I don't recall if Apache put that there or if I did. The above script is put in when you install the apache port(s)... I don't install the ports myself any more, but I keep the 'tradition' of puttin the above in /usr/local/etc/rc.d/apache.sh -Kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message