xref: /titanic_52/usr/src/cmd/svc/milestone/multi-user-server.xml (revision fca4268092e9961ebb9b5e0098dcebc545023586)
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	ident	"%Z%%M%	%I%	%E% SMI"
28
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.
33
34	Service manifest for the multi-user-server milestone.
35
36	milestone/multi-user-server corresponds to the set of services
37	required to commence run level 3, plus legacy processes started
38	in /etc/rc3.d.
39-->
40
41<service_bundle type='manifest' name='SUNWcsr:multi-user-server'>
42
43<service
44	name='milestone/multi-user-server'
45	type='service'
46	version='1'>
47
48	<create_default_instance enabled='true' />
49
50	<single_instance/>
51
52	<!-- milestones required -->
53
54	<dependency
55		name='multi-user'
56		grouping='require_all'
57		restart_on='none'
58		type='service'>
59		<service_fmri value='svc:/milestone/multi-user' />
60	</dependency>
61
62	<!-- services required -->
63
64	<!--
65	  We can't know how long legacy init scripts will take to run.  Set
66	  the timeout value high enough to allow them to take their time
67	  to start.
68	-->
69	<exec_method
70		type='method'
71		name='start'
72		exec='/sbin/rc3'
73		timeout_seconds='1800'>
74		<propval
75			name='restart_on'
76			type='astring'
77			value='external_fault' />
78	</exec_method>
79
80	<exec_method
81		type='method'
82		name='stop'
83		exec=':true'
84		timeout_seconds='0' />
85
86	<!--
87	    The init scripts should never automatically be run twice.
88	    duration=transient tells svc.startd not to restart if no
89	    processes are left running, and timeout_retry=false tells
90	    svc.startd not to retry the start method if it times out.
91	-->
92	<property_group name='startd' type='framework'>
93		<propval name='duration' type='astring' value='transient' />
94		<propval name='timeout_retry' type='boolean' value='false' />
95	</property_group>
96
97	<stability value='Evolving' />
98
99	<template>
100		<common_name>
101			<loctext xml:lang='C'>
102multi-user plus exports milestone
103			</loctext>
104		</common_name>
105		<documentation>
106			<manpage title='init' section='1M'
107				manpath='/usr/share/man' />
108		</documentation>
109	</template>
110</service>
111
112</service_bundle>
113