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