dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / isns / isnsd / isns_server.xml
blob9d60bdd6416382861af5cb4eeed588ee8ca6af7f
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 the iSNS Server
31 -->
33 <!--
35 -->
37 <service_bundle type='manifest' name='SUNWisns:isns_server'>
39 <service
40         name='network/isns_server'
41         type='service'
42         version='1'>
44         <create_default_instance enabled='false' />
46         <single_instance/>
48         <!-- We need name resolution and full filesystem access -->
49         <dependency
50                 name='milestone'
51                 grouping='require_all'
52                 restart_on='none'
53                 type='service'>
54                 <service_fmri value='svc:/milestone/multi-user' />
55         </dependency>
57         <exec_method
58                 type='method'
59                 name='start'
60                 exec='/usr/sbin/isns'
61                 timeout_seconds='60'>
62                 <method_context>
63                         <method_credential
64                         user='root'
65                         group='root'
66                         privileges='basic'
67                         />
68                 </method_context>
69         </exec_method>
70         
71         <exec_method
72                 type='method'
73                 name='stop'
74                 exec=':kill'
75                 timeout_seconds='60'>
76                 <method_context>
77                         <method_credential
78                         user='root'
79                         group='root'
80                         privileges='basic'
81                         />
82                 </method_context>
83         </exec_method>
84         
85         <exec_method
86                 type='method'
87                 name='refresh'
88                 exec=':kill -HUP'
89                 timeout_seconds='60'>
90                 <method_context>
91                         <method_credential
92                         user='root'
93                         group='root'
94                         privileges='basic'
95                         />
96                 </method_context>
97         </exec_method>
99         <property_group name='general' type='framework'>
100                 <!-- to start stop isns -->             
101                 <propval name='action_authorization' type='astring'
102                         value='solaris.smf.manage.isns' />
103                 <!-- to manage prop values -->
104                 <propval name='value_authorization' type='astring'
105                         value='solaris.smf.value.isns' />
106         </property_group>
108         <property_group name='config' type='application'>
109                 <propval name='data_store_location' type='astring'
110                         value='/etc/isns/isnsdata.xml' />
111                 <propval name='ESI_retry_threshold_count' type='count'
112                         value='3' />
113                 <propval name='Management_SCN_Enabled' type='boolean'
114                         value='true' />
115                 <property name='Authorized_Control_Nodes' type='ustring' >
116                         <ustring_list>
117                                 <value_node value='' />
118                         </ustring_list>
119                 </property>
120         </property_group>
122         <stability value='Evolving' />
124         <template>
125                 <common_name>
126                         <loctext xml:lang='C'>
127                                 iSNS server
128                         </loctext>
129                 </common_name>
130                 <documentation>
131                         <manpage title='isns' section='1M'
132                                 manpath='/usr/share/man' />
133                         <manpage title='isnsadm' section='1M'
134                                 manpath='/usr/share /man' />
135                 </documentation>
136         </template>
138 </service>
140 </service_bundle>