xref: /illumos-gate/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml (revision 711890bc9379ceea66272dc8d4981812224ea86e)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2006 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	ident	"%Z%%M%	%I%	%E% SMI"
27
28	NOTE:  This service manifest is not editable; its contents will
29	be overwritten by package or patch operations, including
30	operating system upgrade.  Make customizations in a different
31	file.
32
33	Note: if this service is modified to consist of anything other
34	than a single instance named 'default', you must make changes to
35	$SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
36-->
37
38<service_bundle type='manifest' name='SUNWnfscr:nfs-nlockmgr'>
39
40<service
41	name='network/nfs/nlockmgr'
42	type='service'
43	version='1'>
44
45	<create_default_instance enabled='false' />
46
47	<single_instance />
48
49	<dependency name='network'
50	    grouping='require_any'
51	    restart_on='error'
52	    type='service'>
53		<service_fmri value='svc:/milestone/network' />
54	</dependency>
55
56	<dependency name='rpcbind'
57	    grouping='require_all'
58	    restart_on='restart'
59	    type='service'>
60		<service_fmri value='svc:/network/rpc/bind' />
61	</dependency>
62
63	<dependency name='status'
64	    grouping='require_all'
65	    restart_on='error'
66	    type='service'>
67		<service_fmri value='svc:/network/nfs/status' />
68	</dependency>
69
70	<dependency name='filesystem-minimal'
71	    grouping='require_all'
72	    restart_on='error'
73	    type='service'>
74	    	<service_fmri value='svc:/system/filesystem/minimal' />
75	</dependency>
76
77	<exec_method
78	    type='method'
79	    name='start'
80	    exec='/lib/svc/method/nlockmgr'
81	    timeout_seconds='60' />
82
83	<exec_method
84	    type='method'
85	    name='stop'
86	    exec=':kill'
87	    timeout_seconds='60' />
88
89	<property_group name='application' type='framework'>
90		<stability value='Evolving' />
91		<propval name='auto_enable' type='boolean' value='true' />
92	</property_group>
93
94	<stability value='Stable' />
95
96	<template>
97		<common_name>
98			<loctext xml:lang='C'>
99				NFS lock manager
100			</loctext>
101		</common_name>
102		<documentation>
103			<manpage title='lockd' section='1M'
104				manpath='/usr/share/man' />
105		</documentation>
106	</template>
107</service>
108
109</service_bundle>
110