8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / fs.d / autofs / autofs.xml
blobf750fd75609766262b25d51ea40c3f089157a336
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) 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='SUNWatfsr:autofs'>
37 <service
38         name='system/filesystem/autofs'
39         type='service'
40         version='1'>
42         <dependency
43                 name='fs'
44                 type='service'
45                 grouping='require_all'
46                 restart_on='none'>
47                 <service_fmri value='svc:/system/filesystem/local' />
48         </dependency>
50         <dependency
51                 name='name-service-milestone'
52                 type='service'
53                 grouping='require_all'
54                 restart_on='restart'>
55                 <service_fmri value='svc:/milestone/name-services' />
56         </dependency>
58         <dependency
59                 name='nfs'
60                 type='service'
61                 grouping='optional_all'
62                 restart_on='none'>
63                 <service_fmri value='svc:/network/nfs/client' />
64         </dependency>
66         <dependency
67                 name='rpcbind'
68                 type='service'
69                 grouping='require_all'
70                 restart_on='restart'>
71                 <service_fmri value='svc:/network/rpc/bind' />
72         </dependency>
74         <dependent
75                 name='autofs_multi-user'
76                 grouping='optional_all'
77                 restart_on='none'>
78                 <service_fmri value='svc:/milestone/multi-user' />
79         </dependent>
81         <exec_method
82                 type='method'
83                 name='start'
84                 exec='/lib/svc/method/svc-autofs %m'
85                 timeout_seconds='60'>
86         </exec_method>
88         <exec_method
89                 type='method'
90                 name='stop'
91                 exec='/lib/svc/method/svc-autofs %m %{restarter/contract}'
92                 timeout_seconds='60'>
93         </exec_method>
95         <property_group name='general' type='framework'>
96                 <!-- to start stop autofs daemon -->
97                 <propval name='action_authorization' type='astring'
98                         value='solaris.smf.manage.autofs' />
99         </property_group>
102         <property_group name='application' type='framework'>
103                 <stability value='Evolving' />
104                 <propval name='auto_enable' type='boolean' value='true' />
105         </property_group>
107         <instance name='default' enabled='false'>
108           <property_group name='autofs-props' type='com.oracle.autofs,props'>
109             <propval name='timeout' type='integer' value='600'/>
110             <propval name='automount_verbose' type='boolean' value='false'/>
111             <propval name='trace' type='integer' value='0'/>
112             <propval name='nobrowse' type='boolean' value='false'/>
113             <propval name='automountd_verbose' type='boolean' value='false'/>
114             <propval name='environment' type='astring' value=''/>
115           </property_group>
116         </instance>
118         <stability value='Stable' />
120         <template>
121                 <common_name>
122                         <loctext xml:lang='C'>
123                         automounter
124                         </loctext>
125                 </common_name>
126                 <documentation>
127                         <manpage title='automount' section='1M'
128                                 manpath='/usr/share/man' />
129                 </documentation>
130         </template>
131 </service>
133 </service_bundle>