8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / svc / milestone / multi-user.xml
bloba5b6698e4704565ed0d625da4912c45ab71495d9
1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <!--
4  Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5  Use is subject to license terms.
7  CDDL HEADER START
9  The contents of this file are subject to the terms of the
10  Common Development and Distribution License, Version 1.0 only
11  (the "License").  You may not use this file except in compliance
12  with the License.
14  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15  or http://www.opensolaris.org/os/licensing.
16  See the License for the specific language governing permissions
17  and limitations under the License.
19  When distributing Covered Code, include this CDDL HEADER in each
20  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21  If applicable, add the following below this CDDL HEADER, with the
22  fields enclosed by brackets "[]" replaced with your own identifying
23  information: Portions Copyright [yyyy] [name of copyright owner]
25  CDDL HEADER END
27         ident   "%Z%%M% %I%     %E% SMI"
29         NOTE:  This service manifest is not editable; its contents will
30         be overwritten by package or patch operations, including
31         operating system upgrade.  Make customizations in a different
32         file.
34         Service manifest for the multi-user milestone.
36         milestone/multi-user corresponds to the set of services required
37         to commence run level 2, plus legacy processes started in
38         /etc/rc2.d.
39 -->
41 <service_bundle type='manifest' name='SUNWcsr:multi-user'>
43 <service
44         name='milestone/multi-user'
45         type='service'
46         version='1'>
48         <create_default_instance enabled='true' />
50         <single_instance/>
52         <dependency
53                 name='milestones'
54                 grouping='require_all'
55                 restart_on='none'
56                 type='service'>
57                 <service_fmri value='svc:/milestone/single-user' />
58                 <service_fmri value='svc:/milestone/sysconfig' />
59                 <service_fmri value='svc:/milestone/name-services' />
60         </dependency>
62         <dependency
63                 name='fs'
64                 grouping='require_all'
65                 restart_on='none'
66                 type='service'>
67                 <service_fmri value='svc:/system/filesystem/local' />
68         </dependency>
70         <!--
71           We should let kdmconfig give up the console before graphical
72           logins start out of multi-user.
73         -->
74         <dependency
75                 name='kdmconfig'
76                 grouping='optional_all'
77                 restart_on='none'
78                 type='service'>
79                 <service_fmri value='svc:/platform/i86pc/kdmconfig:default' />
80         </dependency>
82         <dependency
83                 name='rpcbind'
84                 grouping='optional_all'
85                 restart_on='none'
86                 type='service'>
87                 <service_fmri value='svc:/network/rpc/bind' />
88         </dependency>
90         <dependency
91                 name='syslog'
92                 grouping='optional_all'
93                 restart_on='none'
94                 type='service'>
95                 <service_fmri value='svc:/system/system-log' />
96         </dependency>
98         <!--
99           We can't know how long legacy init scripts will take to run.  Set
100           the timeout value high enough to allow them to take their time
101           to start.
102         -->
103         <exec_method
104                 type='method'
105                 name='start'
106                 exec='/sbin/rc2 start'
107                 timeout_seconds='1800'>
108                 <propval name='restart_on'
109                     type='astring' value='external_fault' />
110         </exec_method>
112         <exec_method
113                 type='method'
114                 name='stop'
115                 exec=':true'
116                 timeout_seconds='0' />
118         <!--
119             The init scripts should never automatically be run twice.
120             duration=transient tells svc.startd not to restart if no
121             processes are left running, and timeout_retry=false tells
122             svc.startd not to retry the start method if it times out.
123         -->
124         <property_group name='startd' type='framework'>
125                 <propval name='duration' type='astring' value='transient' />
126                 <propval name='timeout_retry' type='boolean' value='false' />
127         </property_group>
129         <stability value='Evolving' />
131         <template>
132                 <common_name>
133                         <loctext xml:lang='C'>
134 multi-user milestone
135                         </loctext>
136                 </common_name>
137                 <documentation>
138                         <manpage title='init' section='1M'
139                                 manpath='/usr/share/man' />
140                 </documentation>
141         </template>
142 </service>
144 </service_bundle>