1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <!--
4
5 This file and its contents are supplied under the terms of the
6 Common Development and Distribution License ("CDDL"), version 1.0.
7 You may only use this file in accordance with the terms of version
8 of the CDDL.
9
10 A full copy of the text of the CDDL should have accompanied this
11 source. A copy of the CDDL is also available via the Internet at
12 http://www.illumos.org/license/CDDL.
13
14 Copyright 2015 Nexenta Systems, Inc. All rights reserved.
15
16 NOTE: This service manifest is not editable; its contents will
17 be overwritten by package or patch operations, including
18 operating system upgrade.
19
20 -->
21
22 <service_bundle type='manifest' name='network:tftp'>
23
24 <service
25 name='network/tftp/udp6'
26 type='service'
27 version='1'>
28
29 <create_default_instance enabled='false'/>
30
31 <restarter>
32 <service_fmri value='svc:/network/inetd:default' />
33 </restarter>
34
35 <exec_method
36 type='method'
37 name='inetd_start'
38 exec='/usr/sbin/in.tftpd -s /tftpboot'
39 timeout_seconds='0'>
40 <method_context>
41 <method_credential user='root' group='root' />
42 </method_context>
43 </exec_method>
44
45 <exec_method
46 type='method'
47 name='inetd_disable'
48 exec=':kill'
49 timeout_seconds='0'>
50 </exec_method>
51
52 <exec_method
53 type='method'
54 name='inetd_offline'
55 exec=':kill_process'
56 timeout_seconds='0'>
57 </exec_method>
58
59 <property_group name='inetd' type='framework'>
60 <propval name='name' type='astring' value='tftp' />
61 <propval name='endpoint_type' type='astring' value='dgram' />
62 <propval name='proto' type='astring' value='udp6' />
63 <propval name='wait' type='boolean' value='true' />
64 <propval name='isrpc' type='boolean' value='false' />
65 </property_group>
66
67 <stability value='External' />
68
69 <template>
70 <common_name>
71 <loctext xml:lang='C'>
72 TFTP server
73 </loctext>
74 </common_name>
75 <documentation>
76 <manpage title='in.tftpd' section='1M'
77 manpath='/usr/share/man' />
78 </documentation>
79 </template>
80 </service>
81
82 </service_bundle>