xref: /illumos-gate/usr/src/cmd/acctadm/extended-accounting.xml (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
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	NOTE: Do NOT edit the 'config' properties directly, use acctadm(8)
32	instead.
33
34	Service manifest for extended accounting.
35-->
36
37<service_bundle type='manifest' name='SUNWcsr:extended-accounting'>
38
39<service name='system/extended-accounting' type='service' version='1'>
40
41	<dependency
42		name='usr'
43		type='service'
44		grouping='require_all'
45		restart_on='none'>
46		<service_fmri value='svc:/system/filesystem/minimal' />
47	</dependency>
48
49	<exec_method
50		type='method'
51		name='start'
52		exec='/usr/sbin/acctadm -s'
53		timeout_seconds='60' />
54
55	<exec_method
56		type='method'
57		name='stop'
58		exec=':true'
59		timeout_seconds='60' />
60
61	<property_group name='startd' type='framework'>
62		<propval name='duration' type='astring'
63			value='transient' />
64	</property_group>
65
66	<instance name='flow' enabled='false'>
67
68		<property_group name='general' type='framework'>
69			<propval name='action_authorization' type='astring'
70				value='solaris.smf.manage.extended-accounting.flow' />
71			<propval name='value_authorization' type='astring'
72				value='solaris.smf.manage.extended-accounting.flow' />
73		</property_group>
74
75		<property_group name='config' type='application'>
76			<propval name='value_authorization' type='astring'
77				value='solaris.smf.value.extended-accounting.flow' />
78			<propval name='enabled' type='boolean'
79				value='false' />
80			<propval name='file' type='astring'
81				value='none' />
82			<propval name='tracked' type='astring'
83				value='none' />
84			<propval name='untracked' type='astring'
85				value='extended' />
86		</property_group>
87
88		<template>
89			<common_name>
90				<loctext xml:lang='C'>
91					configure flow extended accounting
92				</loctext>
93			</common_name>
94
95			<documentation>
96				<manpage
97					title='acctadm' section='8'
98					manpath='/usr/share/man' />
99			</documentation>
100		</template>
101	</instance>
102
103	<instance name='process' enabled='false'>
104
105		<property_group name='general' type='framework'>
106			<propval name='action_authorization' type='astring'
107				value='solaris.smf.manage.extended-accounting.process' />
108			<propval name='value_authorization' type='astring'
109				value='solaris.smf.manage.extended-accounting.process' />
110		</property_group>
111
112		<property_group name='config' type='application'>
113			<propval name='value_authorization' type='astring'
114				value='solaris.smf.value.extended-accounting.process' />
115			<propval name='enabled' type='boolean'
116				value='false' />
117			<propval name='file' type='astring'
118				value='none' />
119			<propval name='tracked' type='astring'
120				value='none' />
121			<propval name='untracked' type='astring'
122				value='extended,host' />
123		</property_group>
124
125		<template>
126			<common_name>
127				<loctext xml:lang='C'>
128					configure process extended accounting
129				</loctext>
130			</common_name>
131
132			<documentation>
133				<manpage
134					title='acctadm' section='8'
135					manpath='/usr/share/man' />
136			</documentation>
137		</template>
138	</instance>
139
140	<instance name='task' enabled='false'>
141
142		<property_group name='general' type='framework'>
143			<propval name='action_authorization' type='astring'
144				value='solaris.smf.manage.extended-accounting.task' />
145			<propval name='value_authorization' type='astring'
146				value='solaris.smf.manage.extended-accounting.task' />
147		</property_group>
148
149		<property_group name='config' type='application'>
150			<propval name='value_authorization' type='astring'
151				value='solaris.smf.value.extended-accounting.task' />
152			<propval name='enabled' type='boolean'
153				value='false' />
154			<propval name='file' type='astring'
155				value='none' />
156			<propval name='tracked' type='astring'
157				value='none' />
158			<propval name='untracked' type='astring'
159				value='extended' />
160		</property_group>
161
162		<template>
163			<common_name>
164				<loctext xml:lang='C'>
165					configure task extended accounting
166				</loctext>
167			</common_name>
168
169			<documentation>
170				<manpage
171					title='acctadm' section='8'
172					manpath='/usr/share/man' />
173			</documentation>
174		</template>
175	</instance>
176
177	<instance name='net' enabled='false'>
178
179		<property_group name='general' type='framework'>
180			<propval name='action_authorization' type='astring'
181				value='solaris.smf.manage.extended-accounting.net' />
182			<propval name='value_authorization' type='astring'
183				value='solaris.smf.manage.extended-accounting.net' />
184		</property_group>
185
186		<property_group name='config' type='application'>
187			<propval name='value_authorization' type='astring'
188				value='solaris.smf.value.extended-accounting.net' />
189			<propval name='enabled' type='boolean'
190				value='false' />
191			<propval name='file' type='astring'
192				value='none' />
193			<propval name='tracked' type='astring'
194				value='none' />
195			<propval name='untracked' type='astring'
196				value='extended' />
197		</property_group>
198
199		<template>
200			<common_name>
201				<loctext xml:lang='C'>
202					configure net extended accounting
203				</loctext>
204			</common_name>
205
206			<documentation>
207				<manpage
208					title='acctadm' section='8'
209					manpath='/usr/share/man' />
210			</documentation>
211		</template>
212	</instance>
213
214	<stability value='Unstable' />
215</service>
216
217</service_bundle>
218