ensuring runtime rc.d service dependencies
Dave Cottlehuber
dch at skunkwerks.at
Wed Apr 5 21:42:44 UTC 2017
> > 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
More information about the freebsd-questions
mailing list