8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / fs.d / nfs / svc / mapid.xml
blob69dda6fb5780dd8a084f4fbd117420c7bb3b0999
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4     CDDL HEADER START
6     The contents of this file are subject to the terms of the
7     Common Development and Distribution License (the "License").
8     You may not use this file except in compliance with the License.
10     You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11     or http://www.opensolaris.org/os/licensing.
12     See the License for the specific language governing permissions
13     and limitations under the License.
15     When distributing Covered Code, include this CDDL HEADER in each
16     file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17     If applicable, add the following below this CDDL HEADER, with the
18     fields enclosed by brackets "[]" replaced with your own identifying
19     information: Portions Copyright [yyyy] [name of copyright owner]
21     CDDL HEADER END
23     Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 
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     Note: if this service is modified to consist of anything other
31     than a single instance named 'default', you must make changes to
32     $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
33 -->
35 <service_bundle type='manifest' name='SUNWnfscr:nfs-mapid'>
37 <service
38         name='network/nfs/mapid'
39         type='service'
40         version='1'>
42         <dependency name='network'
43             grouping='require_any'
44             restart_on='error'
45             type='service'>
46                 <service_fmri value='svc:/milestone/network' />
47         </dependency>
49         <dependency name='rpcbind'
50             grouping='require_all'
51             restart_on='restart'
52             type='service'>
53                 <service_fmri value='svc:/network/rpc/bind' />
54         </dependency>
56         <dependency name='name-services'
57             grouping='require_all'
58             restart_on='refresh'
59             type='service'>
60                 <service_fmri value='svc:/milestone/name-services' />
61         </dependency>
63         <dependency name='idmap'
64             grouping='optional_all'
65             restart_on='none'
66             type='service'>
67                 <service_fmri value='svc:/system/idmap' />
68         </dependency>
70         <dependency name='filesystem-minimal'
71             grouping='require_all'
72             restart_on='error'
73             type='service'>
74                 <service_fmri value='svc:/system/filesystem/minimal' />
75         </dependency>
77         <exec_method
78             type='method'
79             name='start'
80             exec='/usr/lib/nfs/nfsmapid'
81             timeout_seconds='60' />
83         <exec_method
84             type='method'
85             name='refresh'
86             exec='/usr/bin/kill -HUP `/usr/bin/cat /etc/svc/volatile/nfs-mapid.lock`'
87             timeout_seconds='60' />
89         <exec_method
90             type='method'
91             name='stop'
92             exec=':kill'
93             timeout_seconds='60' />
95         <property_group name='application' type='framework'>
96                 <stability value='Evolving' />
97                 <propval name='auto_enable' type='boolean' value='true' />
98         </property_group>
99         <instance name='default' enabled='false'>
100           <property_group name='nfs-props' type='com.oracle.nfs,props'>
101             <propval name='nfsmapid_domain' type='astring' value=''/>
102           </property_group>
103         </instance>
105         <stability value='Stable' />
107         <template>
108                 <common_name>
109                         <loctext xml:lang='C'>
110                                 NFS ID mapper
111                         </loctext>
112                 </common_name>
113                 <documentation>
114                         <manpage title='nfsmapid' section='1M'
115                                 manpath='/usr/share/man' />
116                 </documentation>
117         </template>
118 </service>
120 </service_bundle>