xref: /titanic_44/usr/src/cmd/tsol/tnctl/tnctl.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:tnctl'>
30*f875b4ebSrica
31*f875b4ebSrica<service
32*f875b4ebSrica	name='network/tnctl'
33*f875b4ebSrica	type='service'
34*f875b4ebSrica	version='1'>
35*f875b4ebSrica
36*f875b4ebSrica	<create_default_instance enabled='true' />
37*f875b4ebSrica
38*f875b4ebSrica	<single_instance/>
39*f875b4ebSrica
40*f875b4ebSrica	<dependent
41*f875b4ebSrica		name='tnctl_name-service-cache'
42*f875b4ebSrica		grouping='optional_all'
43*f875b4ebSrica		restart_on='none'>
44*f875b4ebSrica		<service_fmri value='svc:/system/name-service-cache' />
45*f875b4ebSrica	</dependent>
46*f875b4ebSrica
47*f875b4ebSrica	<dependent
48*f875b4ebSrica		name='tnctl_network-physical'
49*f875b4ebSrica		grouping='optional_all'
50*f875b4ebSrica		restart_on='none'>
51*f875b4ebSrica		<service_fmri value='svc:/network/physical' />
52*f875b4ebSrica	</dependent>
53*f875b4ebSrica
54*f875b4ebSrica	<exec_method
55*f875b4ebSrica		type='method'
56*f875b4ebSrica		name='start'
57*f875b4ebSrica		exec='/lib/svc/method/svc-tnctl'
58*f875b4ebSrica		timeout_seconds='60' />
59*f875b4ebSrica
60*f875b4ebSrica	<exec_method
61*f875b4ebSrica		type='method'
62*f875b4ebSrica		name='stop'
63*f875b4ebSrica		exec=':true'
64*f875b4ebSrica		timeout_seconds='60' />
65*f875b4ebSrica
66*f875b4ebSrica	<property_group name='general' type='framework'>
67*f875b4ebSrica		<propval name='action_authorization' type='astring'
68*f875b4ebSrica			value='solaris.smf.manage.tnctl'/>
69*f875b4ebSrica	</property_group>
70*f875b4ebSrica
71*f875b4ebSrica	<property_group name='startd' type='framework'>
72*f875b4ebSrica		<propval name='duration' type='astring'
73*f875b4ebSrica			value='transient' />
74*f875b4ebSrica        </property_group>
75*f875b4ebSrica
76*f875b4ebSrica	<stability value='Unstable' />
77*f875b4ebSrica
78*f875b4ebSrica	<template>
79*f875b4ebSrica		<common_name>
80*f875b4ebSrica			<loctext xml:lang='C'> trusted networking templates
81*f875b4ebSrica			</loctext>
82*f875b4ebSrica		</common_name>
83*f875b4ebSrica		<documentation>
84*f875b4ebSrica			<manpage title='tnctl' section='1M'
85*f875b4ebSrica				manpath='/usr/share/man' />
86*f875b4ebSrica		</documentation>
87*f875b4ebSrica	</template>
88*f875b4ebSrica</service>
89*f875b4ebSrica
90*f875b4ebSrica</service_bundle>
91