Subject: Re: Starting apache automatically
To: Adrian Maier <>
From: Timo Schoeler <>
List: pkgsrc-users
Date: 02/26/2006 21:28:07
> Hello,
> I am wondering which is the preferred/recommended way to start at boot time
> the daemons that are installed from pkgsrc (like apache and postgresql).
> I have found an script in /usr/pkgsrc/www/apache2/files.
> Should I simply copy this file to /etc/rc.d (or somehwre else?) and enable
> it by adding apache=YES in /etc/rc.conf  ?  Is this the right way to start
> apache automatically ?
> My appologies if this issue is documented somewhere .
> Cheers,
> Adrian Maier

have a look at /usr/pkg/share/examples/rc.d/ :)

you'll want to use apachectl from time to time, though.



Timo Schoeler | |
RISCworks -- Perfection is a powerful message
ISP | POWER & PowerPC afficinados | Networking, Security & BSD services
GPG Key fingerprint = B5F6 68A4 EC45 C309 6770  38C4 50E8 2740 9E0C F20A
There are 10 types of people in the world. Those who understand binary 
and those who don't.