xref: /titanic_50/usr/src/cmd/acctadm/extended-accounting.xml (revision b6917abefc343244b784f0cc34bc65b01469c3bf)
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	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	NOTE: Do NOT edit the 'config' properties directly, use acctadm(1M)
34	instead.
35
36	Service manifest for extended accounting.
37-->
38
39<service_bundle type='manifest' name='SUNWcsr:extended-accounting'>
40
41<service name='system/extended-accounting' type='service' version='1'>
42
43	<dependency
44		name='usr'
45		type='service'
46		grouping='require_all'
47		restart_on='none'>
48		<service_fmri value='svc:/system/filesystem/minimal' />
49	</dependency>
50
51	<exec_method
52		type='method'
53		name='start'
54		exec='/usr/sbin/acctadm -s'
55		timeout_seconds='60' />
56
57	<exec_method
58		type='method'
59		name='stop'
60		exec=':true'
61		timeout_seconds='60' />
62
63	<property_group name='startd' type='framework'>
64		<propval name='duration' type='astring'
65			value='transient' />
66	</property_group>
67
68	<instance name='flow' enabled='false'>
69
70		<property_group name='general' type='framework'>
71			<propval name='action_authorization' type='astring'
72				value='solaris.smf.manage.extended-accounting.flow' />
73			<propval name='value_authorization' type='astring'
74				value='solaris.smf.manage.extended-accounting.flow' />
75		</property_group>
76
77		<property_group name='config' type='application'>
78			<propval name='value_authorization' type='astring'
79				value='solaris.smf.value.extended-accounting.flow' />
80			<propval name='enabled' type='boolean'
81				value='false' />
82			<propval name='file' type='astring'
83				value='none' />
84			<propval name='tracked' type='astring'
85				value='none' />
86			<propval name='untracked' type='astring'
87				value='extended' />
88		</property_group>
89
90		<template>
91			<common_name>
92				<loctext xml:lang='C'>
93					configure flow extended accounting
94				</loctext>
95			</common_name>
96
97			<documentation>
98				<manpage
99					title='acctadm' section='1M'
100					manpath='/usr/share/man' />
101			</documentation>
102		</template>
103	</instance>
104
105	<instance name='process' enabled='false'>
106
107		<property_group name='general' type='framework'>
108			<propval name='action_authorization' type='astring'
109				value='solaris.smf.manage.extended-accounting.process' />
110			<propval name='value_authorization' type='astring'
111				value='solaris.smf.manage.extended-accounting.process' />
112		</property_group>
113
114		<property_group name='config' type='application'>
115			<propval name='value_authorization' type='astring'
116				value='solaris.smf.value.extended-accounting.process' />
117			<propval name='enabled' type='boolean'
118				value='false' />
119			<propval name='file' type='astring'
120				value='none' />
121			<propval name='tracked' type='astring'
122				value='none' />
123			<propval name='untracked' type='astring'
124				value='extended,host' />
125		</property_group>
126
127		<template>
128			<common_name>
129				<loctext xml:lang='C'>
130					configure process extended accounting
131				</loctext>
132			</common_name>
133
134			<documentation>
135				<manpage
136					title='acctadm' section='1M'
137					manpath='/usr/share/man' />
138			</documentation>
139		</template>
140	</instance>
141
142	<instance name='task' enabled='false'>
143
144		<property_group name='general' type='framework'>
145			<propval name='action_authorization' type='astring'
146				value='solaris.smf.manage.extended-accounting.task' />
147			<propval name='value_authorization' type='astring'
148				value='solaris.smf.manage.extended-accounting.task' />
149		</property_group>
150
151		<property_group name='config' type='application'>
152			<propval name='value_authorization' type='astring'
153				value='solaris.smf.value.extended-accounting.task' />
154			<propval name='enabled' type='boolean'
155				value='false' />
156			<propval name='file' type='astring'
157				value='none' />
158			<propval name='tracked' type='astring'
159				value='none' />
160			<propval name='untracked' type='astring'
161				value='extended' />
162		</property_group>
163
164		<template>
165			<common_name>
166				<loctext xml:lang='C'>
167					configure task extended accounting
168				</loctext>
169			</common_name>
170
171			<documentation>
172				<manpage
173					title='acctadm' section='1M'
174					manpath='/usr/share/man' />
175			</documentation>
176		</template>
177	</instance>
178
179	<stability value='Unstable' />
180</service>
181
182</service_bundle>
183