dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / srptsvc / target.xml
blobc21b4fe471608ae3b78c5ba3b199fb21f829b83c
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 SRP Target Port Provider
29 -->
31 <!--
32         system/ibsrp/target - Export SRP target services
34 -->
36 <service_bundle type='manifest' name='SUNWsrptr:target'>
38 <service
39         name='system/ibsrp/target'
40         type='service'
41         version='1'>
43         <create_default_instance enabled='false' />
45         <single_instance/>
47         <dependency name = 'stmf'
48                 grouping='require_all'
49                 restart_on='none'
50                 type='service'>
51                 <service_fmri value='svc:/system/stmf:default'/>
52         </dependency>
54         <exec_method
55                 type='method'
56                 name='start'
57                 exec='/lib/svc/method/svc-srpt start'
58                 timeout_seconds='600'>
59                 <method_context>
60                         <method_credential
61                         user='daemon'
62                         group='daemon'
63                         privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
64                         />
65                 </method_context>
66         </exec_method>
67         
68         <exec_method
69                 type='method'
70                 name='stop'
71                 exec='/lib/svc/method/svc-srpt stop'
72                 timeout_seconds='600'>
73                 <method_context>
74                         <method_credential
75                         user='daemon'
76                         group='daemon'
77                         privileges='basic,sys_devices,!file_link_any,!proc_session,!proc_info'
78                         />
79                 </method_context>
80         </exec_method>
82         <property_group name='startd' type='framework'>
83                 <propval name='duration' type='astring'
84                         value='transient' />
85         </property_group>
87         <stability value='Evolving' />
89         <template>
90                 <common_name>
91                         <loctext xml:lang='C'>
92                                 SRP Target
93                         </loctext>
94                 </common_name>
95                 <documentation>
96                         <manpage title='srpt' section='7D'
97                                 manpath='/usr/share/man' />
98                 </documentation>
99         </template>
101 </service>
103 </service_bundle>