On Wed, 1 Sept 2021 at 18:56, Kent Watsen <[email protected]> wrote:
> I currently have a “legacy_run” service that I’d like to ensure comes up 
> before svc:/system/zones yet after svc:/milestone/network + whatever service 
> is for USB devices.   How to define an SMF that comes up *before* another 
> service…or do I need to edit the svc:/system/zones service to depend on my 
> new service?

You want a <dependent> in your service that refers to the service you
want to start after you.  You can see some examples of this in the
illumos cloud metadata agent; e.g.,

    
https://github.com/illumos/metadata-agent/blob/0e597fe7eddfc66656d894475015c88ae62f0ad3/metadata.xml#L48-L53


Cheers.

-- 
Joshua M. Clulow
http://blog.sysmgr.org

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T3df709ee6e9b4d28-M34b174449322e2a3e51a67de
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to