17c478bd9Sstevel@tonic-gate<?xml version="1.0"?> 27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 37c478bd9Sstevel@tonic-gate<!-- 4eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc. All rights reserved. 57c478bd9Sstevel@tonic-gate Use is subject to license terms. 67c478bd9Sstevel@tonic-gate 77c478bd9Sstevel@tonic-gate CDDL HEADER START 87c478bd9Sstevel@tonic-gate 97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the 10eb1a3463STruong Nguyen Common Development and Distribution License (the "License"). 11eb1a3463STruong Nguyen You may not use this file except in compliance with the License. 127c478bd9Sstevel@tonic-gate 137c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 147c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 157c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions 167c478bd9Sstevel@tonic-gate and limitations under the License. 177c478bd9Sstevel@tonic-gate 187c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 197c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 207c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 217c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 227c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 237c478bd9Sstevel@tonic-gate 247c478bd9Sstevel@tonic-gate CDDL HEADER END 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate NOTE: This service manifest is not editable; its contents will 277c478bd9Sstevel@tonic-gate be overwritten by package or patch operations, including 287c478bd9Sstevel@tonic-gate operating system upgrade. Make customizations in a different 297c478bd9Sstevel@tonic-gate file. 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate Note: if this service is modified to consist of anything other 327c478bd9Sstevel@tonic-gate than a single instance named 'default', you must make changes to 337c478bd9Sstevel@tonic-gate $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock(). 347c478bd9Sstevel@tonic-gate--> 357c478bd9Sstevel@tonic-gate 36e72ff08dSGordon Ross<!-- Copyright (c) 2016 by Delphix. All rights reserved. --> 37e72ff08dSGordon Ross 387c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWnfscr:nfs-status'> 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gate<service 417c478bd9Sstevel@tonic-gate name='network/nfs/status' 427c478bd9Sstevel@tonic-gate type='service' 437c478bd9Sstevel@tonic-gate version='1'> 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate <dependency name='network' 467c478bd9Sstevel@tonic-gate grouping='require_any' 477c478bd9Sstevel@tonic-gate restart_on='error' 487c478bd9Sstevel@tonic-gate type='service'> 497c478bd9Sstevel@tonic-gate <service_fmri value='svc:/milestone/network' /> 507c478bd9Sstevel@tonic-gate </dependency> 517c478bd9Sstevel@tonic-gate 527c478bd9Sstevel@tonic-gate <dependency name='rpcbind' 537c478bd9Sstevel@tonic-gate grouping='require_all' 547c478bd9Sstevel@tonic-gate restart_on='restart' 557c478bd9Sstevel@tonic-gate type='service'> 567c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/rpc/bind' /> 577c478bd9Sstevel@tonic-gate </dependency> 587c478bd9Sstevel@tonic-gate 597c478bd9Sstevel@tonic-gate <dependency name='filesystem-local' 607c478bd9Sstevel@tonic-gate grouping='require_all' 617c478bd9Sstevel@tonic-gate restart_on='error' 627c478bd9Sstevel@tonic-gate type='service'> 63*bbf21555SRichard Lowe <service_fmri value='svc:/system/filesystem/local' /> 647c478bd9Sstevel@tonic-gate </dependency> 657c478bd9Sstevel@tonic-gate 667c478bd9Sstevel@tonic-gate <exec_method 677c478bd9Sstevel@tonic-gate type='method' 687c478bd9Sstevel@tonic-gate name='start' 697c478bd9Sstevel@tonic-gate exec='/usr/lib/nfs/statd' 707c478bd9Sstevel@tonic-gate timeout_seconds='60' /> 717c478bd9Sstevel@tonic-gate 727c478bd9Sstevel@tonic-gate <exec_method 737c478bd9Sstevel@tonic-gate type='method' 747c478bd9Sstevel@tonic-gate name='stop' 757c478bd9Sstevel@tonic-gate exec=':kill' 767c478bd9Sstevel@tonic-gate timeout_seconds='60' /> 777c478bd9Sstevel@tonic-gate 78eb1a3463STruong Nguyen <property_group name='firewall_context' type='com.sun,fw_definition'> 79eb1a3463STruong Nguyen <propval name='isrpc' type='boolean' value='true' /> 80eb1a3463STruong Nguyen <propval name='name' type='astring' value='status' /> 81eb1a3463STruong Nguyen <propval name='ipf_method' type='astring' 82eb1a3463STruong Nguyen value='/lib/svc/method/nfs-server ipfilter' /> 83eb1a3463STruong Nguyen </property_group> 84eb1a3463STruong Nguyen 857c478bd9Sstevel@tonic-gate <property_group name='application' type='framework'> 867c478bd9Sstevel@tonic-gate <stability value='Evolving' /> 877c478bd9Sstevel@tonic-gate <propval name='auto_enable' type='boolean' value='true' /> 887c478bd9Sstevel@tonic-gate </property_group> 897c478bd9Sstevel@tonic-gate 90e72ff08dSGordon Ross <instance name='default' enabled='false'> 91e72ff08dSGordon Ross <property_group name='nfs-props' type='com.oracle.nfs,props'> 92e72ff08dSGordon Ross <propval name='statd_port' type='integer' value='0'/> 93e72ff08dSGordon Ross </property_group> 94e72ff08dSGordon Ross </instance> 95e72ff08dSGordon Ross 967c478bd9Sstevel@tonic-gate <stability value='Stable' /> 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate <template> 997c478bd9Sstevel@tonic-gate <common_name> 1007c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 1017c478bd9Sstevel@tonic-gate NFS status monitor 1027c478bd9Sstevel@tonic-gate </loctext> 1037c478bd9Sstevel@tonic-gate </common_name> 1047c478bd9Sstevel@tonic-gate <documentation> 105*bbf21555SRichard Lowe <manpage title='statd' section='8' 1067c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 1077c478bd9Sstevel@tonic-gate </documentation> 1087c478bd9Sstevel@tonic-gate </template> 1097c478bd9Sstevel@tonic-gate</service> 1107c478bd9Sstevel@tonic-gate 1117c478bd9Sstevel@tonic-gate</service_bundle> 112