Date: Sun, 20 Jun 2004 22:52:57 +0200 From: Jorn Argelo <jorn@wcborstel.nl> To: Alex <abellist@land.ru> Cc: freebsd-questions@freebsd.org Subject: Re: How to start httpd and mysql automatic with FreeBSD start? Message-ID: <40D5F929.9040504@wcborstel.nl> In-Reply-To: <366991413.20040620132154@land.ru> References: <366991413.20040620132154@land.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex wrote: >Hello to all, > >Plese say me how to correctly start httpd and mysqld with system >sturtup... Where i need register it? (maybe in rc.conf or inet.d ?) >And what i need to write in that file? >Thanks! > > > If you have an init script installed in /usr/local/etc/rc.d, it should be starting automatically. If you builded Apache from MySQL from the ports tree, it should have installed an init script already. You can try using rc.conf as well, but I'm not sure if that'll work or not: httpd_enable="YES" mysqld_enable="YES" Do note that I've builded MySQL from the ports tree, and I didn't have to add these lines to the rc.conf file because there were init scripts located at /usr/local/etc/rc.d Cheers, Jorn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D5F929.9040504>