Subject: Re: pkgsrc rc.d scripts
To: Johnny C. Lam <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 05/14/2001 15:13:13
On Mon, 14 May 2001, Johnny C. Lam wrote:

> 	What's our preference for rc.d-style scripts?  In
> databases/postgresql-server/files/, the script is a
> self-contained script that obeys /etc/rc.conf directives and accepts
> all the usual rc.d command (start, stop, etc.)  In
> net/samba/files/, the script will start smbd if /etc/rc.d
> doesn't exist, otherwise, it looks just like the other scripts in
> /etc/rc.d.
> 	My question is basically whether I should be changing the
> script (and other scripts in pkgsrc) to look like the
> script, or the other way around.

For my answer, take a look at www/wwwoffle. I added a new rc.d style
script, left the old one alone, and added a MESSAGE file explaining
which one to use, and what to do with them.