Home | History | Annotate | Download | only in in.ftpd
      1 <?xml version='1.0'?>
      2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
      3 
      4 <!--
      5 	Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
      6 	Use is subject to license terms.
      7 
      8 	NOTE:  This service manifest is not editable; its contents will
      9 	be overwritten by package or patch operations, including
     10 	operating system upgrade.  Make customizations in a different
     11 	file.
     12 
     13 	Service manifest for in.ftpd
     14 -->
     15 
     16 <service_bundle type='manifest' name='SUNWftpr:ftp'>
     17 
     18 <service
     19 	name='network/ftp'
     20 	type='service'
     21 	version='1'>
     22 
     23 	<create_default_instance enabled='false' />
     24 
     25 	<restarter>
     26 		<service_fmri value='svc:/network/inetd:default' />
     27 	</restarter>
     28 
     29 	<exec_method
     30 		type='method'
     31 		name='inetd_start'
     32 		exec='/usr/sbin/in.ftpd -a'
     33 		timeout_seconds='0'>
     34 		<method_context>
     35 			<method_credential user='root' group='root' />
     36 		</method_context>
     37 	</exec_method>
     38 
     39 	<exec_method
     40 		type='method'
     41 		name='inetd_disable'
     42 		exec=':kill'
     43 		timeout_seconds='0'>
     44 	</exec_method>
     45 
     46 	<property_group name='inetd' type='framework'>
     47 		<stability value='Evolving' />
     48 		<propval name='endpoint_type' type='astring' value='stream' />
     49 		<propval name='name' type='astring' value='ftp' />
     50 		<propval name='proto' type='astring' value='tcp6' />
     51 		<propval name='wait' type='boolean' value='false' />
     52 		<propval name='isrpc' type='boolean' value='false' />
     53 	</property_group>
     54 
     55 	<property_group name='firewall_context' type='com.sun,fw_definition'>
     56 		<propval name='ipf_method' type='astring'
     57 		    value='/lib/svc/method/svc-ftp ipfilter' />
     58 	</property_group>
     59 
     60 	<property_group name='firewall_config' type='com.sun,fw_configuration'>
     61 		<propval name='policy' type='astring' value='use_global' />
     62 		<propval name='apply_to' type='astring' value='' />
     63 		<propval name='exceptions' type='astring' value='' />
     64 		<propval name='value_authorization' type='astring'
     65 			value='solaris.smf.value.firewall.config' />
     66 	</property_group>
     67 
     68 	<stability value='Unstable' />
     69 
     70 	<template>
     71 		<common_name>
     72 			<loctext xml:lang='C'>
     73 				FTP server
     74 			</loctext>
     75 		</common_name>
     76 		<documentation>
     77 			<manpage title='in.ftpd' section='1M'
     78 			    manpath='/usr/share/man' />
     79 			<manpage title='ftpd' section='1M'
     80 			    manpath='/usr/share/man' />
     81 		</documentation>
     82 	</template>
     83 
     84 </service>
     85 
     86 </service_bundle>
     87