ensuring runtime rc.d service dependencies

Dave Cottlehuber dch at skunkwerks.at
Wed Apr 5 20:54:44 UTC 2017


hi folks

I have 2 services, A & B that do not directly depend on each other, in
the
sense that their /usr/local/etc/rc.d/A & /B scripts do not have a
REQUIRES
or PROVIDES style section.

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:

service A onestart
....
service B onestart

thanks

A+
Dave


More information about the freebsd-questions mailing list