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 Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 9 10 CDDL HEADER START 11 12 The contents of this file are subject to the terms of the 13 Common Development and Distribution License (the "License"). 14 You may not use this file except in compliance with the License. 15 16 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 or http://www.opensolaris.org/os/licensing. 18 See the License for the specific language governing permissions 19 and limitations under the License. 20 21 When distributing Covered Code, include this CDDL HEADER in each 22 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 23 If applicable, add the following below this CDDL HEADER, with the 24 fields enclosed by brackets "[]" replaced with your own identifying 25 information: Portions Copyright [yyyy] [name of copyright owner] 26 27 CDDL HEADER END 28 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--> 34 35<service_bundle type='manifest' name='SUNWnfssr:rquotad'> 36 37<service 38 name='network/nfs/rquota' 39 type='service' 40 version='1'> 41 42 <create_default_instance enabled='false' /> 43 44 <restarter> 45 <service_fmri value='svc:/network/inetd:default' /> 46 </restarter> 47 48 <dependency name='rpcbind' 49 grouping='require_all' 50 restart_on='restart' 51 type='service'> 52 <service_fmri value='svc:/network/rpc/bind' /> 53 </dependency> 54 55 <exec_method 56 type='method' 57 name='inetd_start' 58 exec='/usr/lib/nfs/rquotad' 59 timeout_seconds='0'> 60 <method_context> 61 <method_credential user='root' group='root' /> 62 </method_context> 63 </exec_method> 64 65 <exec_method 66 type='method' 67 name='inetd_offline' 68 exec=':kill_process' 69 timeout_seconds='0'> 70 </exec_method> 71 72 <exec_method 73 type='method' 74 name='inetd_disable' 75 exec=':kill' 76 timeout_seconds='0'> 77 </exec_method> 78 79 <property_group name='application' type='framework'> 80 <stability value='Evolving' /> 81 <propval name='auto_enable' type='boolean' value='true' /> 82 </property_group> 83 84 <property_group name='inetd' type='framework'> 85 <stability value='Evolving' /> 86 <propval name='name' type='astring' value='rquotad' /> 87 <propval name='endpoint_type' type='astring' value='tli' /> 88 <propval name='proto' type='astring' value='datagram_v' /> 89 <propval name='isrpc' type='boolean' value='true' /> 90 <propval name='rpc_low_version' type='integer' value='1' /> 91 <propval name='rpc_high_version' type='integer' value='1' /> 92 <propval name='wait' type='boolean' value='true' /> 93 </property_group> 94 95 <property_group name='firewall_context' type='com.sun,fw_definition'> 96 <propval name='name' type='astring' value='rquotad' /> 97 <propval name='ipf_method' type='astring' 98 value='/lib/svc/method/nfs-server ipfilter' /> 99 </property_group> 100 101 <property_group name='firewall_config' type='com.sun,fw_configuration'> 102 <propval name='policy' type='astring' value='use_global' /> 103 <propval name='block_policy' type='astring' 104 value='use_global' /> 105 <propval name='apply_to' type='astring' value='' /> 106 <propval name='apply_to_6' type='astring' value='' /> 107 <propval name='exceptions' type='astring' value='' /> 108 <propval name='exceptions_6' type='astring' value='' /> 109 <propval name='target' type='astring' value='' /> 110 <propval name='target_6' type='astring' value='' /> 111 <propval name='value_authorization' type='astring' 112 value='solaris.smf.value.firewall.config' /> 113 </property_group> 114 115 <stability value='Stable' /> 116 117 <template> 118 <common_name> 119 <loctext xml:lang='C'> 120 remote quota server 121 </loctext> 122 </common_name> 123 <documentation> 124 <manpage title='rquotad' section='8' 125 manpath='/usr/share/man' /> 126 </documentation> 127 </template> 128 129</service> 130 131</service_bundle> 132