8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / avs / svc / manifest / nws_ii.xml
blob6a1c330db575a7e4b44bc7e10857c1248c7e82db
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4 CDDL HEADER START
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
21 CDDL HEADER END
23         Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24         Use is subject to license terms.
26         Service manifest for Availability Suite init.
27 -->
29 <service_bundle type='manifest' name='SUNWscmr:nws_ii'>
31 <service
32         name='system/nws_ii'
33         type='service'
34         version='1'>
36         <create_default_instance enabled='false' />
38         <single_instance />
40         <dependency
41          name='nws_ii_sv'
42          type='service'
43          grouping='require_all'
44          restart_on='none'>
45             <service_fmri value='svc:/system/nws_sv' />
46       </dependency>
48         <!--
49           We need to make sure that no user filesystems can mount until
50           AVS has configured, since user filesystems may be mounted on
51           volumes under AVS control
52         -->
53         <dependent
54             name='nws_ii-local-fs'
55             grouping='optional_all'
56             restart_on='none'>
57                 <service_fmri value='svc:/system/filesystem/local' />
58         </dependent>
60         <exec_method
61             type='method'
62             name='start'
63             exec='/lib/svc/method/svc-ii %m'
64             timeout_seconds='300' />
66         <exec_method
67             type='method'
68             name='stop'
69             exec='/lib/svc/method/svc-ii %m'
70             timeout_seconds='600' />
72         <property_group
73             name='startd'
74             type='framework'>
75                 <propval
76                     name='duration'
77                     type='astring'
78                     value='transient' />
79         </property_group>
82         <stability value='Unstable' />
84         <template>
85                 <common_name>
86                         <loctext xml:lang='C'>
87                                 Network Storage Instant Image Init service.
88                         </loctext>
89                 </common_name>
91                 <documentation>
92                         <manpage
93                             title='iiadm'
94                             section='1M'
95                             manpath='/usr/share/man' />
96                 </documentation>
97         </template>
98 </service>
100 </service_bundle>