xref: /titanic_51/usr/src/cmd/allocate/allocate.xml (revision 269f47de02761bab3b7b28e2007a2bac34f629cc)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4
5 CDDL HEADER START
6
7 The contents of this file are subject to the terms of the
8 Common Development and Distribution License (the "License").
9 You may not use this file except in compliance with the License.
10
11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 or http://www.opensolaris.org/os/licensing.
13 See the License for the specific language governing permissions
14 and limitations under the License.
15
16 When distributing Covered Code, include this CDDL HEADER in each
17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18 If applicable, add the following below this CDDL HEADER, with the
19 fields enclosed by brackets "[]" replaced with your own identifying
20 information: Portions Copyright [yyyy] [name of copyright owner]
21
22 CDDL HEADER END
23
24 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30-->
31
32<service_bundle type='manifest' name='SUNWcs:allocate'>
33
34<service
35	name='system/device/allocate'
36	type='service'
37	version='1'>
38
39	<create_default_instance enabled='false' />
40
41	<single_instance/>
42
43        <dependency
44                name='usr'
45                grouping='require_all'
46                restart_on='none'
47                type='service'>
48                <service_fmri value='svc:/system/device/local' />
49        </dependency>
50
51	<!--
52	  Start method timeout is long to account for devices which
53	  take a long time to probe or enumerate.
54	-->
55	<exec_method
56		type='method'
57		name='start'
58		exec='/lib/svc/method/svc-allocate %m'
59		timeout_seconds='60' />
60
61	<exec_method
62		type='method'
63		name='stop'
64		exec='/lib/svc/method/svc-allocate %m'
65		timeout_seconds='60' />
66
67	<property_group name='startd' type='framework'>
68		<propval name='duration' type='astring'
69			value='transient' />
70	</property_group>
71
72	<property_group name='general' type='framework'>
73		<propval name='action_authorization' type='astring'
74			value='solaris.smf.manage.allocate' />
75		<propval name='value_authorization' type='astring'
76			value='solaris.smf.manage.allocate' />
77	</property_group>
78
79	<stability value='Stable' />
80
81	<template>
82		<common_name>
83			<loctext xml:lang='C'>
84				device allocation
85			</loctext>
86		</common_name>
87		<documentation>
88			<manpage title='allocate' section='1' manpath='/usr/share/man' />
89			<manpage title='deallocate' section='1' manpath='/usr/share/man' />
90			<manpage title='list_devices' section='1' manpath='/usr/share/man' />
91			<manpage title='device_allocate' section='1M' manpath='/usr/share/man' />
92			<manpage title='mkdevalloc' section='1M' manpath='/usr/share/man' />
93			<manpage title='mkdevmaps' section='1M' manpath='/usr/share/man' />
94			<manpage title='dminfo' section='1M' manpath='/usr/share/man' />
95			<manpage title='device_maps' section='4' manpath='/usr/share/man' />
96			<manpage title='device_allocate' section='4' manpath='/usr/share/man' />
97		</documentation>
98	</template>
99</service>
100
101</service_bundle>
102