Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2017 22:54:42 +0200
From:      Dave Cottlehuber <dch@skunkwerks.at>
To:        freebsd-questions@freebsd.org
Subject:   ensuring runtime rc.d service dependencies
Message-ID:  <1491425682.764732.935543008.3B6544EA@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
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



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