libuutil: move under bmake
[unleashed.git] / usr / src / cmd / stmfsvc / stmf.xml
blob34b3f7a11c848429d845b07c8a3c4bd0de61fc2c
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 2008 Sun Microsystems, Inc.  All rights reserved.
26 Use is subject to license terms.
29 Service manifests for SCSI Target Mode Framework 
30 -->
32 <!--
34 -->
36 <service_bundle type='manifest' name='stmf'>
38 <service
39         name='system/stmf'
40         type='service'
41         version='1'>
43         <create_default_instance enabled='false' />
45         <single_instance/>
47         <dependency name = 'filesystem_local'
48                 grouping='require_all'
49                 restart_on='none'
50                 type='service'>
51                 <service_fmri
52                         value='svc:/system/filesystem/local:default'/>
53         </dependency>
55         <exec_method
56                 type='method'
57                 name='start'
58                 exec='/lib/svc/method/svc-stmf start'
59                 timeout_seconds='600'>
60                 <method_context>
61                         <method_credential
62                         user='root'
63                         group='root'
64                         privileges='basic,sys_devices'
65                         />
66                 </method_context>
67         </exec_method>
68         
69         <exec_method
70                 type='method'
71                 name='stop'
72                 exec='/lib/svc/method/svc-stmf stop'
73                 timeout_seconds='600'>
74                 <method_context>
75                         <method_credential
76                         user='root'
77                         group='root'
78                         privileges='basic,sys_devices'
79                         />
80                 </method_context>
81         </exec_method>
83         <property_group name='startd' type='framework'>
84                 <propval name='duration' type='astring'
85                         value='transient' />
86         </property_group>
88         <property_group name='general' type='framework'>
89                 <!-- to start stop stmf -->
90                 <propval name='action_authorization' type='astring'
91                         value='solaris.smf.manage.stmf' />
92         </property_group>
94         <property_group name='host_groups' type='application'>
95         </property_group>
97         <property_group name='target_groups' type='application'>
98         </property_group>
101         <stability value='Evolving' />
103         <template>
104                 <common_name>
105                         <loctext xml:lang='C'>
106                                 STMF    
107                         </loctext>
108                 </common_name>
109                 <documentation>
110                         <manpage title='stmf' section='7D'
111                                 manpath='/usr/share/man' />
112                         <manpage title='stmfadm' section='8'
113                                 manpath='/usr/share /man' />
114                 </documentation>
115         </template>
117 </service>
119 </service_bundle>