1d98ed3d7Srm<?xml version="1.0"?>
2d98ed3d7Srm<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3d98ed3d7Srm<!--
4d98ed3d7Srm Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
5d98ed3d7Srm Use is subject to license terms.
6d98ed3d7Srm
7d98ed3d7Srm CDDL HEADER START
8d98ed3d7Srm
9d98ed3d7Srm The contents of this file are subject to the terms of the
10d98ed3d7Srm Common Development and Distribution License, Version 1.0 only
11d98ed3d7Srm (the "License").  You may not use this file except in compliance
12d98ed3d7Srm with the License.
13d98ed3d7Srm
14d98ed3d7Srm You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15d98ed3d7Srm or http://www.opensolaris.org/os/licensing.
16d98ed3d7Srm See the License for the specific language governing permissions
17d98ed3d7Srm and limitations under the License.
18d98ed3d7Srm
19d98ed3d7Srm When distributing Covered Code, include this CDDL HEADER in each
20d98ed3d7Srm file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21d98ed3d7Srm If applicable, add the following below this CDDL HEADER, with the
22d98ed3d7Srm fields enclosed by brackets "[]" replaced with your own identifying
23d98ed3d7Srm information: Portions Copyright [yyyy] [name of copyright owner]
24d98ed3d7Srm
25d98ed3d7Srm CDDL HEADER END
26d98ed3d7Srm
27d98ed3d7Srm	NOTE:  This service manifest is not editable; its contents will
28d98ed3d7Srm	be overwritten by package or patch operations, including
29d98ed3d7Srm	operating system upgrade.  Make customizations in a different
30d98ed3d7Srm	file.
31d98ed3d7Srm
32d98ed3d7Srm	Service manifest for system/scheduler.
33d98ed3d7Srm-->
34d98ed3d7Srm
35d98ed3d7Srm<service_bundle type='manifest' name='SUNWckr:scheduler'>
36d98ed3d7Srm
37d98ed3d7Srm<service
38d98ed3d7Srm	name='system/scheduler'
39d98ed3d7Srm	type='service'
40d98ed3d7Srm	version='1'>
41d98ed3d7Srm
42d98ed3d7Srm	<create_default_instance enabled='false' />
43d98ed3d7Srm
44d98ed3d7Srm	<single_instance />
45d98ed3d7Srm
46d98ed3d7Srm	<!--
47d98ed3d7Srm		The scheduler service changes the default scheduling class from
48d98ed3d7Srm		/etc/dispadmin.conf. It therefore must have / (root) and /usr
49d98ed3d7Srm		mounted readable. svc:/system/filesystem/usr (which remounts /
50d98ed3d7Srm		and /usr read-writable) is dependent on svc:/system/scheduler to
51*bbf21555SRichard Lowe		ensure that subsequent services can use their own scheduling
52d98ed3d7Srm		class.
53d98ed3d7Srm	-->
54d98ed3d7Srm
55d98ed3d7Srm	<dependency
56d98ed3d7Srm		name='root'
57d98ed3d7Srm		type='service'
58d98ed3d7Srm		grouping='require_all'
59d98ed3d7Srm		restart_on='none'>
60d98ed3d7Srm		<service_fmri value='svc:/system/filesystem/root' />
61d98ed3d7Srm	</dependency>
62d98ed3d7Srm
63d98ed3d7Srm	<dependent
64d98ed3d7Srm		name='scheduler_usr'
65d98ed3d7Srm		grouping='optional_all'
66d98ed3d7Srm		restart_on='none'>
67d98ed3d7Srm		<service_fmri value='svc:/system/filesystem/usr' />
68d98ed3d7Srm	</dependent>
69d98ed3d7Srm
70d98ed3d7Srm	<exec_method
71d98ed3d7Srm		type='method'
72d98ed3d7Srm		name='start'
73d98ed3d7Srm		exec='/lib/svc/method/svc-scheduler'
74d98ed3d7Srm		timeout_seconds='30' />
75d98ed3d7Srm
76d98ed3d7Srm	<exec_method
77d98ed3d7Srm		type='method'
78d98ed3d7Srm		name='stop'
79d98ed3d7Srm		exec=':true'
80d98ed3d7Srm		timeout_seconds='30' />
81d98ed3d7Srm
82d98ed3d7Srm	<property_group name='startd' type='framework'>
83d98ed3d7Srm		<propval name='duration' type='astring' value='transient' />
84d98ed3d7Srm	</property_group>
85d98ed3d7Srm
86d98ed3d7Srm	<stability value='Unstable' />
87d98ed3d7Srm
88d98ed3d7Srm	<template>
89d98ed3d7Srm		<common_name>
90d98ed3d7Srm			<loctext xml:lang='C'>
91d98ed3d7Srm				default scheduling class configuration
92d98ed3d7Srm			</loctext>
93d98ed3d7Srm		</common_name>
94d98ed3d7Srm
95d98ed3d7Srm		<documentation>
96d98ed3d7Srm			<manpage
97d98ed3d7Srm				title='dispadmin'
98*bbf21555SRichard Lowe				section='8'
99d98ed3d7Srm				manpath='/usr/share/man' />
100d98ed3d7Srm		</documentation>
101d98ed3d7Srm	</template>
102d98ed3d7Srm</service>
103d98ed3d7Srm
104d98ed3d7Srm</service_bundle>
105