nlockmgr.xml revision 7b4e6d92ac8978742d2afae42fe91917af8b8938
<?xml version="1.0"?>
<!--
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
See the License for the specific language governing permissions
and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
Copyright (c) 2012, 2015 by Delphix. All rights reserved.
NOTE: This service manifest is not editable; its contents will
be overwritten by package or patch operations, including
operating system upgrade. Make customizations in a different
file.
Note: if this service is modified to consist of anything other
than a single instance named 'default', you must make changes to
$SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
-->
<service_bundle type='manifest' name='SUNWnfscr:nfs-nlockmgr'>
<service
type='service'
version='1'>
<dependency name='network'
grouping='require_any'
restart_on='error'
type='service'>
</dependency>
<dependency name='rpcbind'
grouping='require_all'
restart_on='restart'
type='service'>
</dependency>
<dependency name='status'
grouping='require_all'
restart_on='error'
type='service'>
</dependency>
<dependency name='filesystem-minimal'
grouping='require_all'
restart_on='error'
type='service'>
<service_fmri value='svc:/system/filesystem/minimal' />
</dependency>
<exec_method
type='method'
name='start'
timeout_seconds='300' />
<exec_method
type='method'
name='stop'
exec=':kill'
timeout_seconds='60' />
<propval name='isrpc' type='boolean' value='true' />
<propval name='name' type='astring' value='nlockmgr' />
<propval name='ipf_method' type='astring'
value='/lib/svc/method/nfs-server ipfilter' />
</property_group>
<property_group name='application' type='framework'>
<stability value='Evolving' />
<propval name='auto_enable' type='boolean' value='true' />
</property_group>
<instance name='default' enabled='false'>
<propval name='grace_period' type='integer' value='90'/>
<propval name='lockd_listen_backlog' type='integer' value='32'/>
<propval name='lockd_retransmit_timeout' type='integer' value='5'/>
<propval name='lockd_servers' type='integer' value='20'/>
</property_group>
</instance>
<stability value='Stable' />
<template>
<common_name>
<loctext xml:lang='C'>
NFS lock manager
</loctext>
</common_name>
<documentation>
<manpage title='lockd' section='1M'
</documentation>
</template>
</service>
</service_bundle>