8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / fcoesvc / fcoe_initiator.xml
blob4fc2081d716c6562b60e863e964a49fc523bcd7d
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 <!--
6 CDDL HEADER START
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
23 CDDL HEADER END
25 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
26 Use is subject to license terms.
28 Service manifests for the FCoE initiator configuration
29 -->
31 <!--
32         system/fcoe_initiator - Export FCoE initiator port services
33 -->
35 <service_bundle type='manifest' name='SUNWfcprtr:fcoe_initiator'>
37 <service
38         name='system/fcoe_initiator'
39         type='service'
40         version='1'>
42         <create_default_instance enabled='true' />
44         <single_instance/>
46         <dependency name = 'network'
47                 grouping='require_any'
48                 restart_on='error'
49                 type='service'>
50                 <service_fmri value='svc:/milestone/network'/>
51         </dependency>
53         <exec_method
54                 type='method'
55                 name='start'
56                 exec='/lib/svc/method/svc-fcoei'
57                 timeout_seconds='600'>
58                 <method_context>
59                         <method_credential
60                         user='root'
61                         group='root'
62                         privileges='basic,sys_devices'
63                         />
64                 </method_context>
65         </exec_method>
67         <exec_method
68                 type='method'
69                 name='stop'
70                 exec=':true'
71                 timeout_seconds='60'>
72                 <method_context>
73                         <method_credential
74                         user='root'
75                         group='root'
76                         privileges='basic,sys_devices'
77                         />
78                 </method_context>
79         </exec_method>
81         <property_group name='startd' type='framework'>
82                 <propval name='duration' type='astring'
83                         value='transient' />
84         </property_group>
86         <stability value='Evolving' />
88         <template>
89                 <common_name>
90                         <loctext xml:lang='C'>
91                                 fcoe initiator service
92                         </loctext>
93                 </common_name>
94                 <documentation>
95                         <manpage title='fcadm' section='1M'
96                                 manpath='/usr/share/man' />
97                 </documentation>
98         </template>
100 </service>
102 </service_bundle>