xref: /titanic_50/usr/src/cmd/cvcd/cvc.xml (revision 77a7fd96f77f04bbd7634db14755686062589eca)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26	ident	"%Z%%M%	%I%	%E% SMI"
27
28	NOTE:  This service manifest is not editable; its contents will
29	be overwritten by package or patch operations, including
30	operating system upgrade.  Make customizations in a different
31	file.
32
33	Service manifest for cvcd.
34-->
35
36<service_bundle type='manifest' name='SUNWcvcr.u:cvcd'>
37
38<service name='system/cvc' type='service' version='1'>
39
40	<create_default_instance enabled='false' />
41
42	<single_instance />
43
44	<dependency
45	    name='network'
46	    grouping='require_all'
47	    restart_on='none'
48	    type='service'>
49		<service_fmri value='svc:/network/loopback' />
50	</dependency>
51
52	<dependency
53	    name='net_init'
54	    grouping='require_all'
55	    restart_on='none'
56	    type='service'>
57		<service_fmri value='svc:/network/initial' />
58	</dependency>
59
60	<dependency
61	    name='cryptosvc'
62	    grouping='require_all'
63	    restart_on='none'
64	    type='service'>
65		<service_fmri value='svc:/system/cryptosvc' />
66	</dependency>
67
68	<dependency
69	    name='nodename'
70	    grouping='require_all'
71	    restart_on='none'
72	    type='service'>
73		<service_fmri value='svc:/system/identity:node' />
74	</dependency>
75
76	<dependency
77	    name='filesystem_usr'
78	    grouping='require_all'
79	    restart_on='none'
80	    type='service'>
81		<service_fmri value='svc:/system/filesystem/usr' />
82	</dependency>
83
84	<exec_method
85	    type='method'
86	    name='start'
87	    exec='/lib/svc/method/svc-cvcd'
88	    timeout_seconds='60' />
89
90	<exec_method
91	    type='method'
92	    name='stop'
93	    exec=':kill -9'
94	    timeout_seconds='60' />
95
96	<!-- these are passed to cvcd in the method script -->
97	<property_group name='cvc' type='application'>
98		<propval name='ah_auth' type='astring' value='md5' />
99		<propval name='esp_encr' type='astring' value='none' />
100		<propval name='esp_auth' type='astring' value='none' />
101	</property_group>
102
103	<stability value='Unstable' />
104
105	<template>
106		<common_name>
107			<loctext xml:lang='C'>
108				network virtual console
109			</loctext>
110		</common_name>
111
112		<documentation>
113			<manpage title='cvcd' section='1M'
114				manpath='/usr/share/man' />
115		</documentation>
116	</template>
117</service>
118
119</service_bundle>
120