xref: /titanic_52/usr/src/cmd/isns/isnsd/isns_server.xml (revision e0724c534a46ca4754330bc022bf1e2a68f5bb93)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3
4<!--
5
6CDDL HEADER START
7
8The contents of this file are subject to the terms of the
9Common Development and Distribution License (the "License").
10You may not use this file except in compliance with the License.
11
12You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13or http://www.opensolaris.org/os/licensing.
14See the License for the specific language governing permissions
15and limitations under the License.
16
17When distributing Covered Code, include this CDDL HEADER in each
18file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19If applicable, add the following below this CDDL HEADER, with the
20fields enclosed by brackets "[]" replaced with your own identifying
21information: Portions Copyright [yyyy] [name of copyright owner]
22
23CDDL HEADER END
24
25Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
26Use is subject to license terms.
27
28
29Service manifests for the iSNS Server
30
31-->
32
33<!--
34
35-->
36
37<service_bundle type='manifest' name='SUNWisns:isns_server'>
38
39<service
40	name='network/isns_server'
41	type='service'
42	version='1'>
43
44	<create_default_instance enabled='false' />
45
46	<single_instance/>
47
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>
56
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>
98
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>
107
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>
121
122	<stability value='Evolving' />
123
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>
137
138</service>
139
140</service_bundle>
141