xref: /onnv-gate/usr/src/cmd/lvm/util/metainit.xml (revision 0:68f95e015346)
1*0Sstevel@tonic-gate<?xml version="1.0"?>
2*0Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*0Sstevel@tonic-gate<!--
4*0Sstevel@tonic-gate Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5*0Sstevel@tonic-gate Use is subject to license terms.
6*0Sstevel@tonic-gate
7*0Sstevel@tonic-gate CDDL HEADER START
8*0Sstevel@tonic-gate
9*0Sstevel@tonic-gate The contents of this file are subject to the terms of the
10*0Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only
11*0Sstevel@tonic-gate (the "License").  You may not use this file except in compliance
12*0Sstevel@tonic-gate with the License.
13*0Sstevel@tonic-gate
14*0Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15*0Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
16*0Sstevel@tonic-gate See the License for the specific language governing permissions
17*0Sstevel@tonic-gate and limitations under the License.
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
20*0Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21*0Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
22*0Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
23*0Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
24*0Sstevel@tonic-gate
25*0Sstevel@tonic-gate CDDL HEADER END
26*0Sstevel@tonic-gate
27*0Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
28*0Sstevel@tonic-gate
29*0Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
30*0Sstevel@tonic-gate	be overwritten by package or patch operations, including
31*0Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
32*0Sstevel@tonic-gate	file.
33*0Sstevel@tonic-gate
34*0Sstevel@tonic-gate	Service manifest for SVM init.
35*0Sstevel@tonic-gate-->
36*0Sstevel@tonic-gate
37*0Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWmdr:metainit'>
38*0Sstevel@tonic-gate
39*0Sstevel@tonic-gate<service
40*0Sstevel@tonic-gate	name='system/metainit'
41*0Sstevel@tonic-gate	type='service'
42*0Sstevel@tonic-gate	version='1'>
43*0Sstevel@tonic-gate
44*0Sstevel@tonic-gate	<create_default_instance enabled='true' />
45*0Sstevel@tonic-gate
46*0Sstevel@tonic-gate	<single_instance />
47*0Sstevel@tonic-gate
48*0Sstevel@tonic-gate	<dependency
49*0Sstevel@tonic-gate	    name='identity'
50*0Sstevel@tonic-gate	    type='service'
51*0Sstevel@tonic-gate	    grouping='require_all'
52*0Sstevel@tonic-gate	    restart_on='none'>
53*0Sstevel@tonic-gate	    <service_fmri value='svc:/system/identity:node' />
54*0Sstevel@tonic-gate	</dependency>
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gate	<dependent
57*0Sstevel@tonic-gate	    name='metainit_single-user'
58*0Sstevel@tonic-gate	    grouping='optional_all'
59*0Sstevel@tonic-gate	    restart_on='none'>
60*0Sstevel@tonic-gate		<service_fmri value='svc:/milestone/single-user' />
61*0Sstevel@tonic-gate	</dependent>
62*0Sstevel@tonic-gate
63*0Sstevel@tonic-gate	<dependent
64*0Sstevel@tonic-gate	    name='metainit-root'
65*0Sstevel@tonic-gate	    grouping='optional_all'
66*0Sstevel@tonic-gate	    restart_on='none'>
67*0Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/root' />
68*0Sstevel@tonic-gate	</dependent>
69*0Sstevel@tonic-gate
70*0Sstevel@tonic-gate	<exec_method
71*0Sstevel@tonic-gate	    type='method'
72*0Sstevel@tonic-gate	    name='start'
73*0Sstevel@tonic-gate	    exec='/lib/svc/method/svc-metainit'
74*0Sstevel@tonic-gate	    timeout_seconds='180' />
75*0Sstevel@tonic-gate
76*0Sstevel@tonic-gate	<exec_method
77*0Sstevel@tonic-gate	    type='method'
78*0Sstevel@tonic-gate	    name='stop'
79*0Sstevel@tonic-gate	    exec=':true'
80*0Sstevel@tonic-gate	    timeout_seconds='2' />
81*0Sstevel@tonic-gate
82*0Sstevel@tonic-gate	<property_group
83*0Sstevel@tonic-gate	    name='startd'
84*0Sstevel@tonic-gate	    type='framework'>
85*0Sstevel@tonic-gate		<propval
86*0Sstevel@tonic-gate		    name='duration'
87*0Sstevel@tonic-gate		    type='astring'
88*0Sstevel@tonic-gate		    value='transient' />
89*0Sstevel@tonic-gate	</property_group>
90*0Sstevel@tonic-gate
91*0Sstevel@tonic-gate
92*0Sstevel@tonic-gate	<stability value='Unstable' />
93*0Sstevel@tonic-gate
94*0Sstevel@tonic-gate	<template>
95*0Sstevel@tonic-gate	    	<common_name>
96*0Sstevel@tonic-gate		    	<loctext xml:lang='C'>
97*0Sstevel@tonic-gate				SVM initialization
98*0Sstevel@tonic-gate			</loctext>
99*0Sstevel@tonic-gate		</common_name>
100*0Sstevel@tonic-gate
101*0Sstevel@tonic-gate		<documentation>
102*0Sstevel@tonic-gate		    	<manpage
103*0Sstevel@tonic-gate			    title='metainit'
104*0Sstevel@tonic-gate			    section='1M'
105*0Sstevel@tonic-gate			    manpath='/usr/share/man' />
106*0Sstevel@tonic-gate		</documentation>
107*0Sstevel@tonic-gate	</template>
108*0Sstevel@tonic-gate</service>
109*0Sstevel@tonic-gate
110*0Sstevel@tonic-gate</service_bundle>
111