Project

General

Profile

Feature #5862

SMF manifest recursive enable

Added by Brian Bennett almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
smf
Start date:
2015-04-22
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

In a manifest file I can specify:

<instance name="default" enabled="true">

so that a service is enabled automatically at import.

If the service has a dependency that is disabled, the service will transition to offline state. Dependencies must be enabled separately before the service will go online.

Alternatively for a disabled service I can enable the service and recursively enable all dependencies with:

svcadm enable -r site/foo

The manifest file itself should be able to declare that the service and all dependencies should be recursively enabled.

I.e., something to the effect of:

<instance name="default" enabled="true" recursive="true">

No data to display

Also available in: Atom PDF