xref: /titanic_41/usr/src/cmd/ndmpd/ndmp.xml (revision bb3db448291a7208a0162997e1d17d3fa993871a)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
5Copyright 2014 Nexenta Systems, Inc. All rights reserved.
6
7NOTE:  This service manifest is not editable; its contents will
8be overwritten by package or patch operations, including
9operating system upgrade.  Make customizations in a different
10file.
11
12BSD 3 Clause License
13
14Copyright (c) 2007, The Storage Networking Industry Association.
15
16Redistribution and use in source and binary forms, with or without
17modification, are permitted provided that the following conditions
18are met:
19	- Redistributions of source code must retain the above copyright
20	  notice, this list of conditions and the following disclaimer.
21
22	- Redistributions in binary form must reproduce the above copyright
23	  notice, this list of conditions and the following disclaimer in
24	  the documentation and/or other materials provided with the
25	  distribution.
26
27	- Neither the name of The Storage Networking Industry Association (SNIA)
28	  nor the names of its contributors may be used to endorse or promote
29	  products derived from this software without specific prior written
30	  permission.
31
32THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
36LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
37CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
38SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
39INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
40CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42POSSIBILITY OF SUCH DAMAGE.
43
44-->
45
46<service_bundle type='manifest' name='SUNWndmpr:ndmpd'>
47
48<!-- Name the service to 'system/ndmpd'  -->
49<service
50	name='system/ndmpd'
51	type='service'
52	version='1'>
53
54
55	<!-- Create default service instance.  -->
56	<create_default_instance enabled='false' />
57
58	<!-- Service has single instance  -->
59	<single_instance/>
60
61	<!-- Identify dependencies.  -->
62	<dependency
63		name='milestone'
64		grouping='require_all'
65		restart_on='error'
66		type='service'>
67		<service_fmri value='svc:/milestone/sysconfig' />
68	</dependency>
69
70	<!-- Identify start/stop/refresh methods -->
71	<exec_method
72		type='method'
73		name='start'
74		exec='/lib/svc/method/svc-ndmp'
75		timeout_seconds='60' >
76		<method_context>
77			<method_credential
78				user='root' group='sys'
79			/>
80		</method_context>
81	</exec_method>
82
83	<exec_method
84		type='method'
85		name='stop'
86		exec=':kill'
87		timeout_seconds='60' >
88	</exec_method>
89
90	<exec_method
91		type='method'
92		name='refresh'
93		exec=':kill -HUP'
94		timeout_seconds='60' >
95	</exec_method>
96
97	<property_group name='general' type='framework'>
98		<!-- To Start/Stop/Refresh the service -->
99		<propval name='action_authorization' type='astring'
100			value='solaris.smf.manage.ndmp' />
101		<!-- To Configure service parameters -->
102		<propval name='value_authorization' type='astring'
103			value='solaris.smf.manage.ndmp' />
104	</property_group>
105
106	<property_group name='read' type='application'>
107		<!-- To read protected parameters -->
108		<propval name='read_authorization' type='astring'
109			value='solaris.smf.read.ndmp' />
110		<propval name='value_authorization' type='astring'
111			value='solaris.smf.value.ndmp' />
112		<propval name='cram-md5-username' type='astring' value='' />
113		<propval name='cram-md5-password' type='astring' value='' />
114		<propval name='cleartext-username' type='astring' value='' />
115		<propval name='cleartext-password' type='astring' value='' />
116	</property_group>
117
118	<property_group name='ndmpd' type='application'>
119		<stability value='Evolving' />
120		<propval name='debug-mode' type='boolean' value='false' />
121		<propval name='debug-path' type='astring' value='/var/log/ndmp' />
122		<propval name='plugin-path' type='astring' value='' />
123		<propval name='dump-pathnode' type='boolean' value='false' />
124		<propval name='tar-pathnode' type='boolean' value='false' />
125		<propval name='ignore-ctime' type='boolean' value='false' />
126		<propval name='token-maxseq' type='integer' value='9' />
127		<propval name='version' type='integer' value='4' />
128		<propval name='dar-support' type='boolean' value='false' />
129		<propval name='backup-quarantine' type='boolean' value='false' />
130		<propval name='restore-quarantine' type='boolean' value='false' />
131		<propval name='overwrite-quarantine' type='boolean' value='false' />
132		<propval name='mover-nic' type='astring' value='' />
133		<propval name='fh-inode' type='boolean' value='false' />
134		<propval name='include-lmtime' type='boolean' value='false' />
135		<propval name='restore-fullpath' type='boolean' value='false' />
136		<propval name='socket-css' type='integer' value='60' />
137		<propval name='socket-crs' type='integer' value='60' />
138		<propval name='mover-recordsize' type='integer' value='60' />
139		<propval name='restore-wildcard-enable' type='boolean' value='false' />
140		<propval name='tcp-port' type='integer' value='10000' />
141		<propval name='zfs-force-override' type='astring' value='off' />
142		<propval name='drive-type' type='astring' value='sysv' />
143		<propval name='value_authorization' type='astring'
144			value='solaris.smf.value.ndmp' />
145	</property_group>
146
147	<!-- Create Service Template information -->
148	<template>
149		<common_name>
150			<loctext xml:lang='C'> NDMP Service</loctext>
151		</common_name>
152		<documentation>
153			<manpage title='ndmpd' section='1M'
154				manpath='/usr/share/man' />
155		</documentation>
156	</template>
157
158
159</service>
160
161</service_bundle>
162