xref: /illumos-gate/usr/src/cmd/tsol/tnctl/tnctl.xml (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1f875b4ebSrica<?xml version="1.0"?>
2f875b4ebSrica<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3f875b4ebSrica<!--
4f875b4ebSrica    CDDL HEADER START
5f875b4ebSrica
6f875b4ebSrica    The contents of this file are subject to the terms of the
7f875b4ebSrica    Common Development and Distribution License (the "License").
8f875b4ebSrica    You may not use this file except in compliance with the License.
9f875b4ebSrica
10f875b4ebSrica    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11f875b4ebSrica    or http://www.opensolaris.org/os/licensing.
12f875b4ebSrica    See the License for the specific language governing permissions
13f875b4ebSrica    and limitations under the License.
14f875b4ebSrica
15f875b4ebSrica    When distributing Covered Code, include this CDDL HEADER in each
16f875b4ebSrica    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17f875b4ebSrica    If applicable, add the following below this CDDL HEADER, with the
18f875b4ebSrica    fields enclosed by brackets "[]" replaced with your own identifying
19f875b4ebSrica    information: Portions Copyright [yyyy] [name of copyright owner]
20f875b4ebSrica
21f875b4ebSrica    CDDL HEADER END
22f875b4ebSrica
23f875b4ebSrica	Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24f875b4ebSrica	Use is subject to license terms.
25f875b4ebSrica-->
26f875b4ebSrica
27f875b4ebSrica<service_bundle type='manifest' name='SUNWtsg:tnctl'>
28f875b4ebSrica
29f875b4ebSrica<service
30f875b4ebSrica	name='network/tnctl'
31f875b4ebSrica	type='service'
32f875b4ebSrica	version='1'>
33f875b4ebSrica
34f875b4ebSrica	<create_default_instance enabled='true' />
35f875b4ebSrica
36f875b4ebSrica	<single_instance/>
37f875b4ebSrica
38f875b4ebSrica	<dependent
39f875b4ebSrica		name='tnctl_name-service-cache'
40f875b4ebSrica		grouping='optional_all'
41f875b4ebSrica		restart_on='none'>
42f875b4ebSrica		<service_fmri value='svc:/system/name-service-cache' />
43f875b4ebSrica	</dependent>
44f875b4ebSrica
45f875b4ebSrica	<dependent
46f875b4ebSrica		name='tnctl_network-physical'
47f875b4ebSrica		grouping='optional_all'
48f875b4ebSrica		restart_on='none'>
49f875b4ebSrica		<service_fmri value='svc:/network/physical' />
50f875b4ebSrica	</dependent>
51f875b4ebSrica
52f875b4ebSrica	<exec_method
53f875b4ebSrica		type='method'
54f875b4ebSrica		name='start'
55f875b4ebSrica		exec='/lib/svc/method/svc-tnctl'
56f875b4ebSrica		timeout_seconds='60' />
57f875b4ebSrica
58f875b4ebSrica	<exec_method
59f875b4ebSrica		type='method'
60f875b4ebSrica		name='stop'
61f875b4ebSrica		exec=':true'
62f875b4ebSrica		timeout_seconds='60' />
63f875b4ebSrica
64f875b4ebSrica	<property_group name='general' type='framework'>
65f875b4ebSrica		<propval name='action_authorization' type='astring'
66f875b4ebSrica			value='solaris.smf.manage.tnctl'/>
67f875b4ebSrica	</property_group>
68f875b4ebSrica
69f875b4ebSrica	<property_group name='startd' type='framework'>
70f875b4ebSrica		<propval name='duration' type='astring'
71f875b4ebSrica			value='transient' />
72f875b4ebSrica        </property_group>
73f875b4ebSrica
74f875b4ebSrica	<stability value='Unstable' />
75f875b4ebSrica
76f875b4ebSrica	<template>
77f875b4ebSrica		<common_name>
78f875b4ebSrica			<loctext xml:lang='C'> trusted networking templates
79f875b4ebSrica			</loctext>
80f875b4ebSrica		</common_name>
81f875b4ebSrica		<documentation>
82*bbf21555SRichard Lowe			<manpage title='tnctl' section='8'
83f875b4ebSrica				manpath='/usr/share/man' />
84f875b4ebSrica		</documentation>
85f875b4ebSrica	</template>
86f875b4ebSrica</service>
87f875b4ebSrica
88f875b4ebSrica</service_bundle>
89