8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / pools / poold / poold.xml
blob87d7ff1f2d35a99a6760a5cfe95481ca48667713
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:poold'>
36 <service
37         name='system/pools/dynamic'
38         type='service'
39         version='1'>
41         <create_default_instance enabled='false' />
43         <single_instance />
45         <dependency
46                 name='var'
47                 type='service'
48                 grouping='require_all'
49                 restart_on='none'>
50                 <service_fmri value='svc:/system/filesystem/local' />
51         </dependency>
53         <!-- Resource Pools service must be active. -->
54         <!-- poold detects changes to the Resource Pools configuration,
55              so restart_on is set to 'none'. -->
56         <dependency
57                 name='pools'
58                 type='service'
59                 grouping='require_all'
60                 restart_on='none'>
61                 <service_fmri value='svc:/system/pools:default' />
62         </dependency>
64         <exec_method
65                 type='method'
66                 name='start'
67                 exec='/lib/svc/method/svc-poold %m'
68                 timeout_seconds='60'>
69                 <method_context>
70                         <method_credential user='root' group='root' />
71                 </method_context>
72         </exec_method>
74         <exec_method
75                 type='method'
76                 name='stop'
77                 exec=':kill'
78                 timeout_seconds='60'>
79                 <method_context>
80                         <method_credential user='root' group='root' />
81                 </method_context>
82         </exec_method>
84         <exec_method
85                 type='method'
86                 name='refresh'
87                 exec=':kill -HUP'
88                 timeout_seconds='60'>
89                 <method_context>
90                         <method_credential user='root' group='root' />
91                 </method_context>
92         </exec_method>
94         <stability value='Unstable' />
96         <template>
97                 <common_name>
98                         <loctext xml:lang='C'>
99                         dynamic resource pools
100                         </loctext>
101                 </common_name>
102                 <documentation>
103                         <manpage title='poold' section='1M' manpath='/usr/share/man' />
104                 </documentation>
105         </template>
106 </service>
108 </service_bundle>