/etc/rc.d/localdaemons

Dave Hayes dave at jetcafe.org
Mon Sep 10 10:56:24 PDT 2007


"Jeremy C. Reed" <reed at 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 at jetcafe.org 
>>> The opinions expressed above are entirely my own <<<

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







More information about the Users mailing list