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.
6
7 CDDL HEADER START
8
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.
13
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.
18
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]
24
25 CDDL HEADER END
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31
32	Service manifest for the multi-user milestone.
33
34	milestone/multi-user corresponds to the set of services required
35	to commence run level 2, plus legacy processes started in
36	/etc/rc2.d.
37-->
38
39<service_bundle type='manifest' name='SUNWcsr:multi-user'>
40
41<service
42	name='milestone/multi-user'
43	type='service'
44	version='1'>
45
46	<create_default_instance enabled='true' />
47
48	<single_instance/>
49
50	<dependency
51		name='milestones'
52		grouping='require_all'
53		restart_on='none'
54		type='service'>
55		<service_fmri value='svc:/milestone/single-user' />
56		<service_fmri value='svc:/milestone/sysconfig' />
57		<service_fmri value='svc:/milestone/name-services' />
58	</dependency>
59
60	<dependency
61		name='fs'
62		grouping='require_all'
63		restart_on='none'
64		type='service'>
65		<service_fmri value='svc:/system/filesystem/local' />
66	</dependency>
67
68	<!--
69	  We should let kdmconfig give up the console before graphical
70	  logins start out of multi-user.
71	-->
72	<dependency
73		name='kdmconfig'
74		grouping='optional_all'
75		restart_on='none'
76		type='service'>
77		<service_fmri value='svc:/platform/i86pc/kdmconfig:default' />
78	</dependency>
79
80	<dependency
81		name='rpcbind'
82		grouping='optional_all'
83		restart_on='none'
84		type='service'>
85		<service_fmri value='svc:/network/rpc/bind' />
86	</dependency>
87
88	<dependency
89		name='syslog'
90		grouping='optional_all'
91		restart_on='none'
92		type='service'>
93		<service_fmri value='svc:/system/system-log' />
94	</dependency>
95
96	<!--
97	  We can't know how long legacy init scripts will take to run.  Set
98	  the timeout value high enough to allow them to take their time
99	  to start.
100	-->
101	<exec_method
102		type='method'
103		name='start'
104		exec='/sbin/rc2 start'
105		timeout_seconds='1800'>
106		<propval name='restart_on'
107		    type='astring' value='external_fault' />
108	</exec_method>
109
110	<exec_method
111		type='method'
112		name='stop'
113		exec=':true'
114		timeout_seconds='0' />
115
116	<!--
117	    The init scripts should never automatically be run twice.
118	    duration=transient tells svc.startd not to restart if no
119	    processes are left running, and timeout_retry=false tells
120	    svc.startd not to retry the start method if it times out.
121	-->
122	<property_group name='startd' type='framework'>
123		<propval name='duration' type='astring' value='transient' />
124		<propval name='timeout_retry' type='boolean' value='false' />
125	</property_group>
126
127	<stability value='Evolving' />
128
129	<template>
130		<common_name>
131			<loctext xml:lang='C'>
132multi-user milestone
133			</loctext>
134		</common_name>
135		<documentation>
136			<manpage title='init' section='8'
137				manpath='/usr/share/man' />
138		</documentation>
139	</template>
140</service>
141
142</service_bundle>
143