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