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