xref: /titanic_51/usr/src/cmd/rcap/rcapd/rcap.xml (revision dd51520e127b452179a2ce4ea3bd8dee949f9afe)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2007 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
34<service_bundle type='manifest' name='SUNWrcapr:rcap'>
35
36<service
37	name='system/rcap'
38	type='service'
39	version='1'>
40
41	<single_instance />
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	<dependency
52		name='manifest'
53		type='service'
54		grouping='optional_all'
55		restart_on='none'>
56			<service_fmri value='svc:/system/manifest-import' />
57	</dependency>
58
59	<dependent
60		name='rcap_multi-user'
61		grouping='optional_all'
62		restart_on='none'>
63			<service_fmri value='svc:/milestone/multi-user' />
64	</dependent>
65
66	<instance name='default' enabled='false'>
67
68	<exec_method
69		type='method'
70		name='start'
71		exec='/usr/lib/rcap/rcapd'
72		timeout_seconds='60'>
73		<method_context>
74			<method_credential user='root'/>
75		</method_context>
76	</exec_method>
77
78	<exec_method
79		type='method'
80		name='refresh'
81		exec=':kill -HUP'
82		timeout_seconds='60' />
83
84	<exec_method
85		type='method'
86		name='stop'
87		exec=':kill'
88		timeout_seconds='60' />
89
90	<property_group name='config' type='application'>
91		<propval name='pressure' type='count' value='0' />
92		<propval name='reconfig_interval' type='count' value='60' />
93		<propval name='walk_interval' type='count' value='15' />
94		<propval name='report_interval' type='count' value='5' />
95		<propval name='rss_sample_interval' type='count' value='5' />
96        </property_group>
97
98	</instance>
99
100	<stability value='Unstable' />
101
102	<template>
103		<common_name>
104			<loctext xml:lang='C'>
105			resource capping daemon
106			</loctext>
107		</common_name>
108		<documentation>
109			<manpage title='rcapd' section='1M'
110			     manpath='/usr/share/man' />
111			<manpage title='rcapstat' section='1M'
112			     manpath='/usr/share/man' />
113			<manpage title='rcapadm' section='1M'
114			     manpath='/usr/share/man' />
115		</documentation>
116	</template>
117</service>
118
119</service_bundle>
120