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>
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>
|
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>
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>
|