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