pkgsrc-Users archive

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

Re: Starting apache automatically



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



Home | Main Index | Thread Index | Old Index