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