pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Starting apache automatically
joerg%britannica.bec.de@localhost wrote:
> On Sun, Feb 26, 2006 at 10:22:48PM +0200, Adrian Maier wrote:
>> 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).
>
> If you are using one of the BSDs with NetBSD derived RC system (e.g.
> /sbin/rcorder exists), just link the startup script from pkg/share/rc.d
> to /etc/rc.d and add them to /etc/rc.conf.
>
> For other systems, e.g. Linux, a more involved approach might be
> necessary.
>
> Joerg
>
For NetBSD you can also set:
PKG_RCD_SCRIPTS=YES
in mk.conf which should do the trick, I think (i.e it will copy the
files into /etc/rc.d for you). You'll still have to setup /etc/rc.conf
manually yourself.
adrian.
Home |
Main Index |
Thread Index |
Old Index