Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2017 23:42:42 +0200
From:      Dave Cottlehuber <dch@skunkwerks.at>
To:        "Steve O'Hara-Smith" <steve@sohara.org>, freebsd-questions@freebsd.org
Subject:   Re: ensuring runtime rc.d service dependencies
Message-ID:  <1491428562.2349115.935585736.1435B6C5@webmail.messagingengine.com>
In-Reply-To: <20170405220635.6725b0b79bd25977971d7857@sohara.org>
References:  <1491425682.764732.935543008.3B6544EA@webmail.messagingengine.com> <20170405220635.6725b0b79bd25977971d7857@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > However at run time, I do want A to be started before B does.
> > Is this
> > possible to do within /etc/rc.* framework, or would I need to
> > make use
> > of

> > a custom script roughly doing:

>

>  Why not simply add REQUIRE and PROVIDE settings (they're singular

> not plural words) with some dummy value so that A declares
> PROVIDE: A and
> B

> declares REQUIRE: A then rcorder will do the right thing for you.



Thanks Steve I've considered this already; the services are in the ports
tree already; they are not custom ones. We have a fork of ports so
that's a fallback option but I'd prefer less local patches if there's an
alternative, even though they're minor.


A+

Dave







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1491428562.2349115.935585736.1435B6C5>