xref: /titanic_41/usr/src/cmd/fs.d/nfs/svc/rquota.xml (revision 989f28072d20c73ae0955d6a1e3e2fc74831cb39)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3
4<!--
5 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
6 Use is subject to license terms.
7
8 CDDL HEADER START
9
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
13
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.
18
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]
24
25 CDDL HEADER END
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31-->
32
33<service_bundle type='manifest' name='SUNWnfssr:rquotad'>
34
35<service
36    name='network/nfs/rquota'
37    type='service'
38    version='1'>
39
40	<create_default_instance enabled='false' />
41
42	<restarter>
43		<service_fmri value='svc:/network/inetd:default' />
44	</restarter>
45
46	<dependency name='rpcbind'
47	    grouping='require_all'
48	    restart_on='restart'
49	    type='service'>
50		<service_fmri value='svc:/network/rpc/bind' />
51	</dependency>
52
53	<exec_method
54		type='method'
55		name='inetd_start'
56		exec='/usr/lib/nfs/rquotad'
57		timeout_seconds='0'>
58		<method_context>
59			<method_credential user='root' group='root' />
60		</method_context>
61	</exec_method>
62
63	<exec_method
64		type='method'
65		name='inetd_offline'
66		exec=':kill_process'
67		timeout_seconds='0'>
68	</exec_method>
69
70	<exec_method
71		type='method'
72		name='inetd_disable'
73		exec=':kill'
74		timeout_seconds='0'>
75	</exec_method>
76
77	<property_group name='application' type='framework'>
78		<stability value='Evolving' />
79		<propval name='auto_enable' type='boolean' value='true' />
80	</property_group>
81
82	<property_group name='inetd' type='framework'>
83		<stability value='Evolving' />
84		<propval name='name' type='astring' value='rquotad' />
85		<propval name='endpoint_type' type='astring' value='tli' />
86		<propval name='proto' type='astring' value='datagram_v' />
87		<propval name='isrpc' type='boolean' value='true' />
88		<propval name='rpc_low_version' type='integer' value='1' />
89		<propval name='rpc_high_version' type='integer' value='1' />
90		<propval name='wait' type='boolean' value='true' />
91	</property_group>
92
93	<property_group name='firewall_config' type='com.sun,fw_configuration'>
94		<propval name='policy' type='astring' value='use_global' />
95		<propval name='apply_to' type='astring' value='' />
96		<propval name='exceptions' type='astring' value='' />
97		<propval name='value_authorization' type='astring'
98		    value='solaris.smf.value.firewall.config' />
99	</property_group>
100
101	<stability value='Stable' />
102
103	<template>
104		<common_name>
105			<loctext xml:lang='C'>
106				remote quota server
107			</loctext>
108		</common_name>
109		<documentation>
110			<manpage title='rquotad' section='1M'
111			    manpath='/usr/share/man' />
112		</documentation>
113	</template>
114
115</service>
116
117</service_bundle>
118