Re: How to start httpd and mysql automatic with FreeBSD start?

2004-06-20 Thread Jorn Argelo
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start httpd and mysql automatic with FreeBSD start?

2004-06-20 Thread Eric Crist
On Sunday 20 June 2004 05:21, 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!

You didn't mention what version of FreeBSD you're using.   That makes a big 
difference.
-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.


pgprb556Nr5g0.pgp
Description: signature