pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Starting apache automatically



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 apache.sh 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.

HTH,

timo

--
Timo Schoeler | http://riscworks.net/~tis | 
timo.schoeler%riscworks.net@localhost
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.



Home | Main Index | Thread Index | Old Index