Date: Wed, 24 Jan 2007 16:17:54 +0100 From: Karol Kwiatkowski <freebsd@orchid.homeunix.org> To: Warren Head <warrenhead@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: autostart apache Message-ID: <45B778A2.3030702@orchid.homeunix.org> In-Reply-To: <51e113440701240636q60e5e05an6bcfe50d6acae13c@mail.gmail.com> References: <51e113440701240636q60e5e05an6bcfe50d6acae13c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd at orchid dot homeunix dot org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B778A2.3030702>