DragonFly users List (threaded) for 2007-09
DragonFly BSD
DragonFly users List (threaded) for 2007-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: /etc/rc.d/localdaemons


From: Dave Hayes <dave@xxxxxxxxxxx>
Date: Mon, 10 Sep 2007 10:52:02 -0700

"Jeremy C. Reed" <reed@reedmedia.net> writes:
> You can make your packages install the rcorder-style rc.d scripts by
> setting PKG_RCD_SCRIPTS=YES in your pkgsrc mk.conf and in your shell
> environment for pkg_add(1).

Ah-ha. Thanks for that. 

> (How did your rc.d scripts get into your $local_startup directories?)

I believe pkgsrc puts rc.d style scripts in /usr/pkg/etc/rc.d. I've also
put a few in there myself. 

There's two reasons I personally like this idea, one is to keep the
startup script with the prefix where it's software installed, and two is
that I tend to keep as much local software modification out of /etc as
possible.

> By the way, FreeBSD's startup scripts check the rc.d scripts for the a
> rcorder tag to then use rcorder to order them.

This sounds like a good thing to bring to DragonFly. :)
------
Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org 
>>> The opinions expressed above are entirely my own <<<

Do not take life too seriously; you will never get out of it
alive.





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