1 <?xml version="1.0"?> 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3 <!-- 4 Copyright 2009 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: if this service is modified to consist of anything other 32 than a single instance named 'default', you must make changes to 33 $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock(). 34 --> 35 36 <service_bundle type='manifest' name='SUNWnfscr:nfs-status'> 37 38 <service 39 name='network/nfs/status' 40 type='service' 41 version='1'> 42 43 <create_default_instance enabled='false' /> 44 45 <single_instance /> 46 47 <dependency name='network' 48 grouping='require_any' 49 restart_on='error' 50 type='service'> 51 <service_fmri value='svc:/milestone/network' /> 52 </dependency> 53 54 <dependency name='rpcbind' 55 grouping='require_all' 56 restart_on='restart' 57 type='service'> 58 <service_fmri value='svc:/network/rpc/bind' /> 59 </dependency> 60 61 <dependency name='filesystem-local' 62 grouping='require_all' 63 restart_on='error' 64 type='service'> 65 <service_fmri value='svc:/system/filesystem/local' /> 66 </dependency> 67 68 <exec_method 69 type='method' 70 name='start' 71 exec='/usr/lib/nfs/statd' 72 timeout_seconds='60' /> 73 74 <exec_method 75 type='method' 76 name='stop' 77 exec=':kill' 78 timeout_seconds='60' /> 79 80 <property_group name='firewall_context' type='com.sun,fw_definition'> 81 <propval name='isrpc' type='boolean' value='true' /> 82 <propval name='name' type='astring' value='status' /> 83 <propval name='ipf_method' type='astring' 84 value='/lib/svc/method/nfs-server ipfilter' /> 85 </property_group> 86 87 <property_group name='application' type='framework'> 88 <stability value='Evolving' /> 89 <propval name='auto_enable' type='boolean' value='true' /> 90 </property_group> 91 92 <stability value='Stable' /> 93 94 <template> 95 <common_name> 96 <loctext xml:lang='C'> 97 NFS status monitor 98 </loctext> 99 </common_name> 100 <documentation> 101 <manpage title='statd' section='1M' 102 manpath='/usr/share/man' /> 103 </documentation> 104 </template> 105 </service> 106 107 </service_bundle>