Subject: Re: starting packages
To: Juan RP <juan@xtraeme.UnixBSD.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: netbsd-help
Date: 09/18/2003 15:21:39
On Wed, Sep 17, 2003 at 03:51:38PM +0200, Juan RP wrote:
> On Wed, 17 Sep 2003 15:44:32 +1000
> James Whitwell <abacau@yahoo.com.au> wrote:
> 
> > I've installed the dovecot package.  What's the recommended way to 
> > start it automatically at boot?  I put dovecot=YES in /etc/rc.conf 
> > (dovecot start didn't seem to work without it), but that doesn't start 
> > it automatically.
> 
> Hi Jimmy, you should to use PKG_RCD_SCRIPTS in your mk.conf, with
> this variable the scripts located in rc.d from pkgsrc will be
> automatically copied to /etc/rc.d, and removed when you have removed your
> package.

I just wanted to point out that it's possible to set PKG_CONFIG=YES
and PKG_RCD_SCRIPTS=YES in the shell environment if you're installing
from binary packages on ftp.netbsd.org.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>