xref: /titanic_51/usr/src/cmd/tsol/tnd/tnd.xml (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4    CDDL HEADER START
5
6    The contents of this file are subject to the terms of the
7    Common Development and Distribution License (the "License").
8    You may not use this file except in compliance with the License.
9
10    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11    or http://www.opensolaris.org/os/licensing.
12    See the License for the specific language governing permissions
13    and limitations under the License.
14
15    When distributing Covered Code, include this CDDL HEADER in each
16    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17    If applicable, add the following below this CDDL HEADER, with the
18    fields enclosed by brackets "[]" replaced with your own identifying
19    information: Portions Copyright [yyyy] [name of copyright owner]
20
21    CDDL HEADER END
22
23	Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24	Use is subject to license terms.
25
26	ident	"%Z%%M%	%I%	%E% SMI"
27-->
28
29<service_bundle type='manifest' name='SUNWtsg:tnd'>
30
31<service
32	name='network/tnd'
33	type='service'
34	version='1'>
35
36	<create_default_instance enabled='false' />
37
38	<single_instance/>
39
40	 <dependency
41		name='usr'
42		type='service'
43		grouping='require_all'
44		restart_on='none'>
45		<service_fmri value='svc:/system/filesystem/minimal' />
46	</dependency>
47
48	<dependency
49		name='tnctl'
50		type='service'
51		grouping='require_all'
52		restart_on='restart'>
53		<service_fmri value='svc:/network/tnctl' />
54	</dependency>
55
56	<dependency
57		name='name-service-cache'
58		type='service'
59		grouping='require_all'
60		restart_on='none'>
61		<service_fmri value='svc:/system/name-service-cache' />
62	</dependency>
63
64	<dependency
65                name='network-ldap-client'
66                type='service'
67                grouping='require_all'
68                restart_on='none'>
69                <service_fmri value='svc:/network/ldap/client' />
70        </dependency>
71
72	<exec_method
73		type='method'
74		name='start'
75		exec='/lib/svc/method/svc-tnd'
76		timeout_seconds='60' />
77
78	<exec_method
79		type='method'
80		name='stop'
81		exec=':kill -TERM'
82		timeout_seconds='60' />
83
84	<exec_method
85		type='method'
86		name='refresh'
87		exec=':kill -HUP'
88		timeout_seconds='60' />
89
90	<property_group name='general' type='framework'>
91		<propval name='action_authorization' type='astring'
92			value='solaris.smf.manage.tnd' />
93	</property_group>
94	<property_group name='tnd' type='application'>
95		<propval
96			name='debug_level'
97			type='integer'
98			value='0' />
99		<propval
100			name='debug_file'
101			type='astring'
102			value='/var/tsol/tndlog' />
103		<propval
104			name='poll_interval'
105			type='integer'
106			value='1800' />
107		<propval
108			name='value_authorization'
109			type='astring'
110			value='solaris.smf.value.tnd' />
111	</property_group>
112
113	<stability value='Unstable' />
114
115	<template>
116		<common_name>
117			<loctext xml:lang='C'> trusted networking templates
118			</loctext>
119		</common_name>
120		<documentation>
121			<manpage title='tnd' section='1M'
122				manpath='/usr/share/man' />
123		</documentation>
124	</template>
125</service>
126
127</service_bundle>
128