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