xref: /illumos-gate/usr/src/cmd/allocate/allocate.xml (revision bbf21555)
1269f47deSThuy Fettig<?xml version="1.0"?>
2269f47deSThuy Fettig<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3269f47deSThuy Fettig<!--
4269f47deSThuy Fettig
5269f47deSThuy Fettig CDDL HEADER START
6269f47deSThuy Fettig
7269f47deSThuy Fettig The contents of this file are subject to the terms of the
8269f47deSThuy Fettig Common Development and Distribution License (the "License").
9269f47deSThuy Fettig You may not use this file except in compliance with the License.
10269f47deSThuy Fettig
11269f47deSThuy Fettig You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12269f47deSThuy Fettig or http://www.opensolaris.org/os/licensing.
13269f47deSThuy Fettig See the License for the specific language governing permissions
14269f47deSThuy Fettig and limitations under the License.
15269f47deSThuy Fettig
16269f47deSThuy Fettig When distributing Covered Code, include this CDDL HEADER in each
17269f47deSThuy Fettig file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18269f47deSThuy Fettig If applicable, add the following below this CDDL HEADER, with the
19269f47deSThuy Fettig fields enclosed by brackets "[]" replaced with your own identifying
20269f47deSThuy Fettig information: Portions Copyright [yyyy] [name of copyright owner]
21269f47deSThuy Fettig
22269f47deSThuy Fettig CDDL HEADER END
23269f47deSThuy Fettig
24269f47deSThuy Fettig Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25269f47deSThuy Fettig
26269f47deSThuy Fettig	NOTE:  This service manifest is not editable; its contents will
27269f47deSThuy Fettig	be overwritten by package or patch operations, including
28269f47deSThuy Fettig	operating system upgrade.  Make customizations in a different
29269f47deSThuy Fettig	file.
30269f47deSThuy Fettig-->
31269f47deSThuy Fettig
32269f47deSThuy Fettig<service_bundle type='manifest' name='SUNWcs:allocate'>
33269f47deSThuy Fettig
34269f47deSThuy Fettig<service
35269f47deSThuy Fettig	name='system/device/allocate'
36269f47deSThuy Fettig	type='service'
37269f47deSThuy Fettig	version='1'>
38269f47deSThuy Fettig
39269f47deSThuy Fettig	<create_default_instance enabled='false' />
40269f47deSThuy Fettig
41269f47deSThuy Fettig	<single_instance/>
42269f47deSThuy Fettig
43269f47deSThuy Fettig        <dependency
44269f47deSThuy Fettig                name='usr'
45269f47deSThuy Fettig                grouping='require_all'
46269f47deSThuy Fettig                restart_on='none'
47269f47deSThuy Fettig                type='service'>
48269f47deSThuy Fettig                <service_fmri value='svc:/system/device/local' />
49269f47deSThuy Fettig        </dependency>
50269f47deSThuy Fettig
51269f47deSThuy Fettig	<!--
52269f47deSThuy Fettig	  Start method timeout is long to account for devices which
53269f47deSThuy Fettig	  take a long time to probe or enumerate.
54269f47deSThuy Fettig	-->
55269f47deSThuy Fettig	<exec_method
56269f47deSThuy Fettig		type='method'
57269f47deSThuy Fettig		name='start'
58269f47deSThuy Fettig		exec='/lib/svc/method/svc-allocate %m'
59269f47deSThuy Fettig		timeout_seconds='60' />
60269f47deSThuy Fettig
61269f47deSThuy Fettig	<exec_method
62269f47deSThuy Fettig		type='method'
63269f47deSThuy Fettig		name='stop'
64269f47deSThuy Fettig		exec='/lib/svc/method/svc-allocate %m'
65269f47deSThuy Fettig		timeout_seconds='60' />
66269f47deSThuy Fettig
67269f47deSThuy Fettig	<property_group name='startd' type='framework'>
68269f47deSThuy Fettig		<propval name='duration' type='astring'
69269f47deSThuy Fettig			value='transient' />
70269f47deSThuy Fettig	</property_group>
71269f47deSThuy Fettig
72269f47deSThuy Fettig	<property_group name='general' type='framework'>
73269f47deSThuy Fettig		<propval name='action_authorization' type='astring'
74269f47deSThuy Fettig			value='solaris.smf.manage.allocate' />
75269f47deSThuy Fettig		<propval name='value_authorization' type='astring'
76269f47deSThuy Fettig			value='solaris.smf.manage.allocate' />
77269f47deSThuy Fettig	</property_group>
78269f47deSThuy Fettig
79269f47deSThuy Fettig	<stability value='Stable' />
80269f47deSThuy Fettig
81269f47deSThuy Fettig	<template>
82269f47deSThuy Fettig		<common_name>
83269f47deSThuy Fettig			<loctext xml:lang='C'>
84269f47deSThuy Fettig				device allocation
85269f47deSThuy Fettig			</loctext>
86269f47deSThuy Fettig		</common_name>
87269f47deSThuy Fettig		<documentation>
88269f47deSThuy Fettig			<manpage title='allocate' section='1' manpath='/usr/share/man' />
89269f47deSThuy Fettig			<manpage title='deallocate' section='1' manpath='/usr/share/man' />
90269f47deSThuy Fettig			<manpage title='list_devices' section='1' manpath='/usr/share/man' />
91*bbf21555SRichard Lowe			<manpage title='device_allocate' section='8' manpath='/usr/share/man' />
92*bbf21555SRichard Lowe			<manpage title='mkdevalloc' section='8' manpath='/usr/share/man' />
93*bbf21555SRichard Lowe			<manpage title='mkdevmaps' section='8' manpath='/usr/share/man' />
94*bbf21555SRichard Lowe			<manpage title='dminfo' section='8' manpath='/usr/share/man' />
95*bbf21555SRichard Lowe			<manpage title='device_maps' section='5' manpath='/usr/share/man' />
96*bbf21555SRichard Lowe			<manpage title='device_allocate' section='5' manpath='/usr/share/man' />
97269f47deSThuy Fettig		</documentation>
98269f47deSThuy Fettig	</template>
99269f47deSThuy Fettig</service>
100269f47deSThuy Fettig
101269f47deSThuy Fettig</service_bundle>
102