Merge illumos-gate
[unleashed.git] / usr / src / cmd / rmvolmgr / rmvolmgr.xml
blob72d936c360d615e40fbf06b6bf0b0cec15e0c8ab
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.
6  CDDL HEADER START
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.
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.
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]
23  CDDL HEADER END
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.
30         Service manifest for rmvolmgr.
31 -->
33 <service_bundle type='manifest' name='SUNWrmvolmgrr:rmvolmgr'>
35 <service
36         name='system/filesystem/rmvolmgr'
37         type='service'
38         version='1'>
40         <create_default_instance enabled='false' />
42         <single_instance />
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>
51         <dependency name='dbus'
52                 type='service'
53                 grouping='require_all'
54                 restart_on='none'>
55                 <service_fmri value='svc:/system/dbus' />
56         </dependency>
58         <dependency name='hal'
59                 type='service'
60                 grouping='require_all'
61                 restart_on='none'>
62                 <service_fmri value='svc:/system/hal' />
63         </dependency>
65         <exec_method
66                 type='method'
67                 name='start'
68                 exec='/lib/svc/method/svc-rmvolmgr start'
69                 timeout_seconds='30'/>
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' />
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>
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>
94         <stability value='Unstable' />
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='8' manpath='/usr/man' />
104                 </documentation>
105         </template>
107 </service>
109 </service_bundle>