xref: /illumos-gate/usr/src/cmd/tsol/tnd/tnd.xml (revision 8119dad84d6416f13557b0ba8e2aaf9064cbcfd3)
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-->
27
28<service_bundle type='manifest' name='SUNWtsg:tnd'>
29
30<service
31	name='network/tnd'
32	type='service'
33	version='1'>
34
35	<create_default_instance enabled='false' />
36
37	<single_instance/>
38
39	 <dependency
40		name='usr'
41		type='service'
42		grouping='require_all'
43		restart_on='none'>
44		<service_fmri value='svc:/system/filesystem/minimal' />
45	</dependency>
46
47	<dependency
48		name='tnctl'
49		type='service'
50		grouping='require_all'
51		restart_on='restart'>
52		<service_fmri value='svc:/network/tnctl' />
53	</dependency>
54
55	<dependency
56		name='name-service-cache'
57		type='service'
58		grouping='require_all'
59		restart_on='none'>
60		<service_fmri value='svc:/system/name-service-cache' />
61	</dependency>
62
63	<dependency
64                name='network-ldap-client'
65                type='service'
66                grouping='require_all'
67                restart_on='none'>
68                <service_fmri value='svc:/network/ldap/client' />
69        </dependency>
70
71	<exec_method
72		type='method'
73		name='start'
74		exec='/lib/svc/method/svc-tnd'
75		timeout_seconds='60' />
76
77	<exec_method
78		type='method'
79		name='stop'
80		exec=':kill -TERM'
81		timeout_seconds='60' />
82
83	<exec_method
84		type='method'
85		name='refresh'
86		exec=':kill -HUP'
87		timeout_seconds='60' />
88
89	<property_group name='general' type='framework'>
90		<propval name='action_authorization' type='astring'
91			value='solaris.smf.manage.tnd' />
92	</property_group>
93	<property_group name='tnd' type='application'>
94		<propval
95			name='debug_level'
96			type='integer'
97			value='0' />
98		<propval
99			name='debug_file'
100			type='astring'
101			value='/var/tsol/tndlog' />
102		<propval
103			name='poll_interval'
104			type='integer'
105			value='1800' />
106		<propval
107			name='value_authorization'
108			type='astring'
109			value='solaris.smf.value.tnd' />
110	</property_group>
111
112	<stability value='Unstable' />
113
114	<template>
115		<common_name>
116			<loctext xml:lang='C'> trusted networking templates
117			</loctext>
118		</common_name>
119		<documentation>
120			<manpage title='tnd' section='8'
121				manpath='/usr/share/man' />
122		</documentation>
123	</template>
124</service>
125
126</service_bundle>
127