scheduler.xml revision d98ed3d7be38777343c0767e5c3bdc78a0eb1950
3305N/A<?xml version="1.0"?>
3305N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3305N/A<!--
3305N/A Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3305N/A Use is subject to license terms.
3305N/A
3305N/A CDDL HEADER START
3305N/A
3305N/A The contents of this file are subject to the terms of the
3305N/A Common Development and Distribution License, Version 1.0 only
3305N/A (the "License"). You may not use this file except in compliance
3305N/A with the License.
3305N/A
3305N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3305N/A or http://www.opensolaris.org/os/licensing.
3305N/A See the License for the specific language governing permissions
3305N/A and limitations under the License.
3305N/A
3305N/A When distributing Covered Code, include this CDDL HEADER in each
3305N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3305N/A If applicable, add the following below this CDDL HEADER, with the
3305N/A fields enclosed by brackets "[]" replaced with your own identifying
3305N/A information: Portions Copyright [yyyy] [name of copyright owner]
3305N/A
3305N/A CDDL HEADER END
3305N/A
3305N/A
3305N/A ident "%Z%%M% %I% %E% SMI"
3305N/A
3305N/A NOTE: This service manifest is not editable; its contents will
3305N/A be overwritten by package or patch operations, including
3305N/A operating system upgrade. Make customizations in a different
3305N/A file.
3305N/A
3305N/A Service manifest for system/scheduler.
3305N/A-->
3305N/A
3305N/A<service_bundle type='manifest' name='SUNWckr:scheduler'>
3305N/A
3305N/A<service
3305N/A name='system/scheduler'
3305N/A type='service'
3305N/A version='1'>
3305N/A
3305N/A <create_default_instance enabled='false' />
3305N/A
3305N/A <single_instance />
3305N/A
3305N/A <!--
3305N/A The scheduler service changes the default scheduling class from
3305N/A /etc/dispadmin.conf. It therefore must have / (root) and /usr
3305N/A mounted readable. svc:/system/filesystem/usr (which remounts /
3305N/A and /usr read-writable) is dependent on svc:/system/scheduler to
3305N/A ensure that subsequent services can use their own scheduling
3305N/A class.
3564N/A -->
3305N/A
3305N/A <dependency
3305N/A name='root'
3305N/A type='service'
3305N/A grouping='require_all'
3305N/A restart_on='none'>
3305N/A <service_fmri value='svc:/system/filesystem/root' />
3305N/A </dependency>
3305N/A
3305N/A <dependent
3305N/A name='scheduler_usr'
3305N/A grouping='optional_all'
3305N/A restart_on='none'>
3305N/A <service_fmri value='svc:/system/filesystem/usr' />
3305N/A </dependent>
3305N/A
3305N/A <exec_method
3305N/A type='method'
3305N/A name='start'
3305N/A exec='/lib/svc/method/svc-scheduler'
3305N/A timeout_seconds='30' />
3305N/A
3305N/A <exec_method
3305N/A type='method'
3305N/A name='stop'
3305N/A exec=':true'
3305N/A timeout_seconds='30' />
3305N/A
3305N/A <property_group name='startd' type='framework'>
3305N/A <propval name='duration' type='astring' value='transient' />
3305N/A </property_group>
3305N/A
3305N/A <stability value='Unstable' />
3305N/A
3305N/A <template>
3305N/A <common_name>
3305N/A <loctext xml:lang='C'>
3305N/A default scheduling class configuration
</loctext>
</common_name>
<documentation>
<manpage
title='dispadmin'
section='1M'
manpath='/usr/share/man' />
</documentation>
</template>
</service>
</service_bundle>