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<!-- Copyright (c) 2016 by Delphix. All rights reserved. --> 37 38<service_bundle type='manifest' name='SUNWnfscr:nfs-status'> 39 40<service 41 name='network/nfs/status' 42 type='service' 43 version='1'> 44 45 <dependency name='network' 46 grouping='require_any' 47 restart_on='error' 48 type='service'> 49 <service_fmri value='svc:/milestone/network' /> 50 </dependency> 51 52 <dependency name='rpcbind' 53 grouping='require_all' 54 restart_on='restart' 55 type='service'> 56 <service_fmri value='svc:/network/rpc/bind' /> 57 </dependency> 58 59 <dependency name='filesystem-local' 60 grouping='require_all' 61 restart_on='error' 62 type='service'> 63 <service_fmri value='svc:/system/filesystem/local' /> 64 </dependency> 65 66 <exec_method 67 type='method' 68 name='start' 69 exec='/usr/lib/nfs/statd' 70 timeout_seconds='60' /> 71 72 <exec_method 73 type='method' 74 name='stop' 75 exec=':kill' 76 timeout_seconds='60' /> 77 78 <property_group name='firewall_context' type='com.sun,fw_definition'> 79 <propval name='isrpc' type='boolean' value='true' /> 80 <propval name='name' type='astring' value='status' /> 81 <propval name='ipf_method' type='astring' 82 value='/lib/svc/method/nfs-server ipfilter' /> 83 </property_group> 84 85 <property_group name='application' type='framework'> 86 <stability value='Evolving' /> 87 <propval name='auto_enable' type='boolean' value='true' /> 88 </property_group> 89 90 <instance name='default' enabled='false'> 91 <property_group name='nfs-props' type='com.oracle.nfs,props'> 92 <propval name='statd_port' type='integer' value='0'/> 93 </property_group> 94 </instance> 95 96 <stability value='Stable' /> 97 98 <template> 99 <common_name> 100 <loctext xml:lang='C'> 101 NFS status monitor 102 </loctext> 103 </common_name> 104 <documentation> 105 <manpage title='statd' section='1M' 106 manpath='/usr/share/man' /> 107 </documentation> 108 </template> 109</service> 110 111</service_bundle> 112