Merge commit 'b1e7e97d3b60469b243b3b2e22c7d8cbd11c7c90'
[unleashed.git] / usr / src / cmd / pools / pools.xml
blobfbca3d8eb3f8a1beb30ec3bd281e096ead974229
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
4     CDDL HEADER START
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.
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.
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]
21     CDDL HEADER END
23     Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24     Use is subject to license terms.
26     ident       "%Z%%M% %I%     %E% SMI"
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 -->
34 <service_bundle type='manifest' name='SUNWpoolr:pools'>
36 <service
37         name='system/pools'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance />
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>
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>
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>
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>
83         <property_group name='startd' type='framework'>
84                 <propval name='duration' type='astring' value='transient' />
85         </property_group>
87         <stability value='Unstable' />
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='8' manpath='/usr/share/man' />
98                         <manpage title='poolbind' section='8' manpath='/usr/share/man' />
99                         <manpage title='poolcfg' section='8' manpath='/usr/share/man' />
100                         <manpage title='poolstat' section='8' manpath='/usr/share/man' />
101                 </documentation>
102         </template>
103 </service>
105 </service_bundle>