From owner-freebsd-questions@FreeBSD.ORG Wed Jan 24 15:18:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C728716A400 for ; Wed, 24 Jan 2007 15:18:21 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avs237.neoplus.adsl.tpnet.pl [83.27.52.237]) by mx1.freebsd.org (Postfix) with ESMTP id 0F29813C551 for ; Wed, 24 Jan 2007 15:18:20 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from blackacidevil.orchid.homeunix.org (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.8/8.13.8) with ESMTP id l0OFI1eM037917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Jan 2007 16:18:18 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <45B778A2.3030702@orchid.homeunix.org> Date: Wed, 24 Jan 2007 16:17:54 +0100 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0b1 (X11/20070119) MIME-Version: 1.0 To: Warren Head References: <51e113440701240636q60e5e05an6bcfe50d6acae13c@mail.gmail.com> In-Reply-To: <51e113440701240636q60e5e05an6bcfe50d6acae13c@mail.gmail.com> X-Enigmail-Version: 0.94.2.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1CB6705CB584D9CA29CF2A49" X-Virus-Scanned: ClamAV 0.88.7/2486/Wed Jan 24 15:47:09 2007 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: autostart apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 15:18:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1CB6705CB584D9CA29CF2A49 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Warren Head wrote: > Hi, >=20 > I would like Apache2 to start automatically when FreeBSD is done bootin= g. > I thought that would happen because I placed this inside /etc/rc.conf >=20 > apache_enable=3D"YES" >=20 > But that doesn't seem to be the case. It doesn't start automatically, I= > have >=20 > to start it manually with: > apachectl start >=20 > Is this behaviour correct or not? It depends on which version you've installed (was it www/apache20? www/apache21?) Have a look at 'pkg-message' file in the ports tree, here's for apache22 for example: % $ cat /usr/ports/www/apache22/pkg-message % To run apache www server from startup, add apache22_enable=3D"YES" % in your /etc/rc.conf. Extra options can be found in startup script. HTH, Karol --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig1CB6705CB584D9CA29CF2A49 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFt3ipezeoPAwGIYsRCL05AKCeZWVpT+efAwXEdp+5Jg1KmYMmMwCdECSc h6KOVBBhi6bbmFPZhxOLkn4= =OWyR -----END PGP SIGNATURE----- --------------enig1CB6705CB584D9CA29CF2A49--