Subject: Re: using pkg rc.d scripts
To: None <>
From: George Georgalis <>
List: tech-pkg
Date: 01/07/2006 17:51:11
On Mon, Jan 02, 2006 at 12:25:08PM +1100, grant beattie wrote:
>On Thu, Dec 29, 2005 at 07:59:55AM -0500, George Georgalis wrote:
>> well, I want them under ${PREFIX}, so for example, maybe I'll
>> someday have a nfs ${PREFIX} solution.
>> but wherever, what options are there to start them up?
>> is there a consensus? or do people typically set PKG_RCD_SCRIPTS
>> or something else?
>PKG_RCD_SCRIPTS has to be set to YES for it to do anything at all. the
>correct way to have them placed in your preferred directory is to set
>RCD_SCRIPTS_DIR, as salo pointed out. this ensures that they are
>installed and removed correctly, whether you are building from source
>or building binary packages.
>this is separate from how you start them. you can start them however
>you like, but it differs per platform as each platform has a different
>way of invoking things on bootup.

Thanks for the summary. I'm planning out an NFS /usr/pkg deployment and
I think a given host will symlink /usr/pkg/share/examples/rc.d/ files to
their local /etc/rc.d/ on an as needed basis -- if that works.

// George

George Georgalis, systems architect, administrator <IXOYE>< cell:646-331-2027