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