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