pkgsrc-Users archive

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

Re: PKG_RCD_SCRIPTS=YES be default?

Malcolm Herbert <> writes:

> I personally think we should probably drop pkgsrc startup scripts into
> /usr/pkg/etc/rc.d as was the practice some time ago and then craft
> something reasonable for the OS that can kick them off in a similar
> manner that which is currently done on NetBSD
> so, for example, one /etc/{rc,init}.d/pkgsrc script that will use
> /usr/pkg/etc/rc.conf for config and rcorder[1] over /usr/pkg/etc/rc.d/*

This is very far from being that easy.

> This follows the minimal footprint that we want to maintain on
> non-NetBSD OSes and with proper variable control would also be
> gracefully configurable for those environments that want things in
> /etc/rc.d/* and config from /etc/rc.conf
> The only thing that this won't solve is interleaving services and their
> dependents, but if that is truly necessary for foreign OSes then I'd
> suggest pkgsrc might not be the appropriate choice ...

Proper ordering of services is important.


Home | Main Index | Thread Index | Old Index