xref: /titanic_52/usr/src/cmd/cvcd/cvc.xml (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2007 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	<!-- sckmd is required on OPL and Starcat but not Starfire -->
53	<dependency
54	    name='sckmd'
55	    grouping='optional_all'
56	    restart_on='none'
57	    type='service'>
58		<service_fmri value='svc:/platform/sun4u/sckmd' />
59	</dependency>
60
61	<dependency
62	    name='cryptosvc'
63	    grouping='require_all'
64	    restart_on='none'
65	    type='service'>
66		<service_fmri value='svc:/system/cryptosvc' />
67	</dependency>
68
69	<dependency
70	    name='nodename'
71	    grouping='require_all'
72	    restart_on='none'
73	    type='service'>
74		<service_fmri value='svc:/system/identity:node' />
75	</dependency>
76
77	<dependency
78	    name='filesystem_usr'
79	    grouping='require_all'
80	    restart_on='none'
81	    type='service'>
82		<service_fmri value='svc:/system/filesystem/usr' />
83	</dependency>
84
85	<exec_method
86	    type='method'
87	    name='start'
88	    exec='/lib/svc/method/svc-cvcd'
89	    timeout_seconds='60' />
90
91	<exec_method
92	    type='method'
93	    name='stop'
94	    exec=':kill -9'
95	    timeout_seconds='60' />
96
97	<!-- these are passed to cvcd in the method script -->
98	<property_group name='cvc' type='application'>
99		<propval name='ah_auth' type='astring' value='md5' />
100		<propval name='esp_encr' type='astring' value='none' />
101		<propval name='esp_auth' type='astring' value='none' />
102	</property_group>
103
104	<stability value='Unstable' />
105
106	<template>
107		<common_name>
108			<loctext xml:lang='C'>
109				network virtual console
110			</loctext>
111		</common_name>
112
113		<documentation>
114			<manpage title='cvcd' section='1M'
115				manpath='/usr/share/man' />
116		</documentation>
117	</template>
118</service>
119
120</service_bundle>
121