xref: /titanic_50/usr/src/cmd/rmvolmgr/rmvolmgr.xml (revision 14ea4bb737263733ad80a36b4f73f681c30a6b45)
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 rmvolmgr.
34-->
35
36<service_bundle type='manifest' name='SUNWrmvolmgrr:rmvolmgr'>
37
38<service
39	name='system/filesystem/rmvolmgr'
40	type='service'
41	version='1'>
42
43	<create_default_instance enabled='false' />
44
45	<single_instance />
46
47	<dependency name='fs'
48		type='service'
49		grouping='require_all'
50		restart_on='none'>
51		<service_fmri value='svc:/system/filesystem/local' />
52	</dependency>
53
54	<dependency name='dbus'
55		type='service'
56		grouping='require_all'
57		restart_on='none'>
58		<service_fmri value='svc:/system/dbus' />
59	</dependency>
60
61	<dependency name='hal'
62		type='service'
63		grouping='require_all'
64		restart_on='none'>
65		<service_fmri value='svc:/system/hal' />
66	</dependency>
67
68	<exec_method
69		type='method'
70		name='start'
71		exec='/lib/svc/method/svc-rmvolmgr start'
72		timeout_seconds='30'/>
73
74	<!-- If device access problems keep rmvolmgr from stopping in
75	     30 seconds, customize this timeout to a higher value.
76	-->
77	<exec_method
78		type='method'
79		name='stop'
80		exec=':kill'
81		timeout_seconds='30' />
82
83	<exec_method
84		type='method'
85		name='refresh'
86		exec='/lib/svc/method/svc-rmvolmgr refresh'
87		timeout_seconds='30' />
88
89	<property_group name='general' type='framework'>
90		<!-- to start stop service -->
91		<propval name='action_authorization' type='astring'
92			value='solaris.smf.manage.rmvolmgr' />
93		<!-- configure service -->
94		<propval name='value_authorization' type='astring'
95			value='solaris.smf.value.rmvolmgr' />
96	</property_group>
97
98	<property_group name='rmvolmgr' type='application'>
99		<propval name='legacy_mountpoints' type='boolean' value='true' />
100		<propval name='cde_compatible' type='boolean' value='true' />
101	</property_group>
102
103	<stability value='Unstable' />
104
105	<template>
106		<common_name>
107			<loctext xml:lang='C'>
108			removable volume manager
109			</loctext>
110		</common_name>
111		<documentation>
112			<manpage title='rmvolmgr' section='1M' manpath='/usr/man' />
113		</documentation>
114	</template>
115
116</service>
117
118</service_bundle>
119