5172 tftpd service is not registered by default and its manual is giving misleading...
[unleashed.git] / usr / src / cmd / cmd-inet / usr.bin / tftp / tftp-udp6.xml
blobd5368753d47e25aa9e5854dd48d82eed2af22728
1 <?xml version='1.0'?>
2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 <!--
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.
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.
14 Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
16 NOTE:  This service manifest is not editable; its contents will
17 be overwritten by package or patch operations, including
18 operating system upgrade.
20 -->
22 <service_bundle type='manifest' name='network:tftp'>
24 <service
25         name='network/tftp/udp6'
26         type='service'
27         version='1'>
29         <create_default_instance enabled='false'/>
31         <restarter>
32                 <service_fmri value='svc:/network/inetd:default' />
33         </restarter>
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>
45         <exec_method
46                 type='method'
47                 name='inetd_disable'
48                 exec=':kill'
49                 timeout_seconds='0'>
50         </exec_method>
52         <exec_method
53                 type='method'
54                 name='inetd_offline'
55                 exec=':kill_process'
56                 timeout_seconds='0'>
57         </exec_method>
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>
67         <stability value='External' />
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>
82 </service_bundle>