1<?xml version="1.0"?>
2<!--
3 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
4 Use is subject to license terms.
5
6 CDDL HEADER START
7
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
11
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
16
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
22
23 CDDL HEADER END
24
25	NOTE:  This service manifest is not editable; its contents will
26	be overwritten by package or patch operations, including
27	operating system upgrade.  Make customizations in a different
28	file.
29-->
30
31<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
32
33<service_bundle type='manifest' name='SUNWcsr:vtdaemon'>
34
35<service
36	name='system/vtdaemon'
37	type='service'
38	version='1'>
39
40        <create_default_instance enabled='false' />
41
42        <single_instance />
43
44	<dependency
45		name='console-login'
46		grouping='require_all'
47		restart_on='none'
48		type='service'>
49		<service_fmri value='svc:/system/console-login:default' />
50	</dependency>
51
52	<exec_method
53		type='method'
54		name='start'
55		exec='/lib/svc/method/vtdaemon'
56		timeout_seconds='0'>
57                <method_context>
58                        <method_credential user='root' group='root' />
59                </method_context>
60        </exec_method>
61
62	<exec_method
63		type='method'
64		name='stop'
65		exec=':kill -9'
66		timeout_seconds='3'>
67                <method_context>
68                        <method_credential user='root' group='root' />
69                </method_context>
70        </exec_method>
71
72	<property_group name='startd' type='framework'>
73		<propval name='duration' type='astring' value='child' />
74		<propval name='ignore_error' type='astring'
75			value='core,signal' />
76		<propval name='utmpx_prefix' type='astring' value='co' />
77	</property_group>
78
79        <property_group name='general' type='framework'>
80                <propval name='action_authorization' type='astring'
81                        value='solaris.smf.manage.vt' />
82                <propval name='value_authorization' type='astring'
83                        value='solaris.smf.manage.vt' />
84        </property_group>
85
86	<property_group name='options' type='application'>
87                <propval name='value_authorization' type='astring'
88                        value='solaris.smf.value.vt' />
89		<propval name='hotkeys' type='boolean' value='false' />
90		<propval name='secure' type='boolean' value='true' />
91		<propval name='nodecount' type='count' value='16' />
92	</property_group>
93
94
95	<stability value='Evolving' />
96
97	<template>
98		<common_name>
99			<loctext xml:lang='C'>
100vtdaemon for virtual console secure switch
101			</loctext>
102		</common_name>
103		<documentation>
104			<manpage title='vtdaemon' section='8'
105				manpath='/usr/share/man' />
106		</documentation>
107	</template>
108</service>
109
110</service_bundle>
111