ftp.xml revision 1245
305N/A<?xml version="1.0"?>
305N/A<!--
1245N/A Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
305N/A
305N/A CDDL HEADER START
305N/A
305N/A The contents of this file are subject to the terms of the
305N/A Common Development and Distribution License (the "License").
305N/A You may not use this file except in compliance with the License.
305N/A
305N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
305N/A or http://www.opensolaris.org/os/licensing.
305N/A See the License for the specific language governing permissions
305N/A and limitations under the License.
305N/A
305N/A When distributing Covered Code, include this CDDL HEADER in each
305N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
305N/A If applicable, add the following below this CDDL HEADER, with the
305N/A fields enclosed by brackets "[]" replaced with your own identifying
305N/A information: Portions Copyright [yyyy] [name of copyright owner]
305N/A
305N/A CDDL HEADER END
305N/A
305N/A NOTE: This service manifest is not editable; its contents will
305N/A be overwritten by package or patch operations, including
305N/A operating system upgrade. Make customizations in a different
305N/A file.
305N/A-->
305N/A
305N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
305N/A
305N/A<service_bundle type='manifest' name='network/ftp'>
305N/A<service name='network/ftp' type='service' version='1'>
305N/A <create_default_instance enabled='false' />
305N/A
305N/A <single_instance/>
305N/A
305N/A <dependency name='net-loopback' grouping='require_any'
305N/A restart_on='none' type='service'>
305N/A <service_fmri value='svc:/network/loopback' />
305N/A </dependency>
305N/A
305N/A <dependency name='net-service' grouping='require_all'
305N/A restart_on='none' type='service'>
305N/A <service_fmri value='svc:/network/service'/>
305N/A </dependency>
305N/A
305N/A <dependency name='net-physical' grouping='require_all'
305N/A restart_on='none' type='service'>
305N/A <service_fmri value='svc:/network/physical' />
305N/A </dependency>
305N/A
305N/A <dependency name='filesystem-local' grouping='require_all'
305N/A restart_on='none' type='service'>
305N/A <service_fmri value='svc:/system/filesystem/local' />
305N/A </dependency>
305N/A
1245N/A <dependency name='name-services' grouping='require_all'
469N/A restart_on='none' type='service'>
1245N/A <service_fmri value='svc:/milestone/name-services' />
469N/A </dependency>
469N/A
305N/A <exec_method
305N/A type='method'
305N/A name='start'
305N/A exec='/usr/lib/inet/proftpd'
305N/A timeout_seconds='60'>
305N/A <method_context>
305N/A <method_credential user='root' group='root' />
305N/A </method_context>
305N/A </exec_method>
305N/A
305N/A <exec_method type='method'
305N/A name='stop'
305N/A exec=':kill'
305N/A timeout_seconds='60'>
305N/A </exec_method>
305N/A
305N/A <property_group name='general' type='framework'>
305N/A <!-- manage FTP server state -->
305N/A <propval name='action_authorization' type='astring'
305N/A value='solaris.smf.manage.ftp' />
305N/A <propval name='value_authorization' type='astring'
305N/A value='solaris.smf.manage.ftp' />
305N/A </property_group>
305N/A
305N/A <property_group name='startd' type='framework'>
305N/A <propval name='duration' type='astring' value='contract'/>
305N/A <!-- sub-process core dumps shouldn't restart session -->
305N/A <propval name='ignore_error'
305N/A type='astring' value='core,signal' />
305N/A </property_group>
305N/A
305N/A <property_group name='firewall_context' type='com.sun,fw_definition'>
305N/A <propval name='ipf_method' type='astring'
305N/A value='/lib/svc/method/svc-ftp ipfilter' />
305N/A </property_group>
305N/A
305N/A <property_group name='firewall_config' type='com.sun,fw_configuration'>
305N/A <propval name='policy' type='astring' value='use_global' />
305N/A <propval name='apply_to' type='astring' value='' />
305N/A <propval name='exceptions' type='astring' value='' />
305N/A <propval name='value_authorization' type='astring'
305N/A value='solaris.smf.value.firewall.config' />
305N/A </property_group>
305N/A
305N/A <template>
305N/A <common_name>
305N/A <loctext xml:lang='C'>
305N/A FTP server
305N/A </loctext>
305N/A </common_name>
305N/A <documentation>
305N/A <manpage title='proftpd' section='1M'
305N/A manpath='/usr/share/man' />
305N/A <doc_link name='proftpd'
305N/A uri='file://usr/share/doc/proftpd/' />
305N/A </documentation>
305N/A </template>
305N/A</service>
305N/A
305N/A</service_bundle>